docs: protected OAuthToken getOAuthTokenFromRequest(final HttpServletRequest request) {
          val token = getOAuthConfigurationContext().getTicketRegistry().getTicket(getOAuthParameter(request), OAuthToken.class);
          if (token == null || token.isExpired()) {
              LOGGER.error("OAuth token indicated by parameter [{}] has expired or not found: [{}]", getOAuthParameter(request), token);
              if (token != null) {
                  getOAuthConfigurationContext().getTicketRegistry().deleteTicket(token.getId());
              }
              return null;
          }
          return token;
      }