@Override
    public Optional<String> resolveRequestParameter(final WebContext context,
                                                    final String name) {
        return resolveRequestParameter(context, name, String.class);
    }
This is {@link DefaultOAuth20RequestParameterResolver}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/DefaultOAuth20RequestParameterResolver.java