protected Service resolveServiceFromRequest(final RequestContext requestContext) {
        return FunctionUtils.doUnchecked(() -> {
            val givenService = Optional.ofNullable(WebUtils.getService(requestContext))
                .orElseGet(() -> webApplicationServiceFactory.createService(casProperties.getServer().getPrefix()));
            return serviceSelectionStrategy.resolveService(givenService);
        });
    }
This is {@link TokenAuthenticationAction}.  This class represents an action in the webflow to retrieve
user information from an AES128 encrypted token. If the auth_token
parameter exists in the web request, it is used to create a new TokenCredential.

@author Eric Pierce
@author Misagh Moayyed
@since 4.2.0
support/cas-server-support-token-webflow/src/main/java/org/apereo/cas/web/flow/TokenAuthenticationAction.java