Interface AuthorizeEndpointDataProvider

  • All Superinterfaces:
    org.forgerock.oauth2.core.plugins.OAuth2Plugin
    All Known Subinterfaces:
    ScopeValidator

    @Supported
    public interface AuthorizeEndpointDataProvider
    extends org.forgerock.oauth2.core.plugins.OAuth2Plugin
    A plugin or (extension point) that allows the OAuth2 provider to return additional data from an authorization request.
    • Method Detail

      • provide

        @Supported
        Map<String,​String> provide​(Map<String,​Token> tokens,
                                         OAuth2Request request)
                                  throws org.forgerock.oauth2.core.exceptions.ServerException
        Provided as an extension point to allow the OAuth2 provider to return additional data from an authorization request.
        Parameters:
        tokens - The tokens that will be returned from the authorization call.
        request - The OAuth2 request.
        Returns:
        A Map<String, String> of the additional data to return.
        Throws:
        org.forgerock.oauth2.core.exceptions.ServerException