Interface OAuthProvider

  • All Known Implementing Classes:
    CustomOAuthProvider, DefaultOAuthProvider

    public interface OAuthProvider
    A description of an OAuth Provider that we can use as a source of identity information.
    Author:
    Alex Kalderimis
    • Method Detail

      • getName

        java.lang.String getName()
        Returns:
        the name of the provider
      • getTokenUrl

        java.lang.String getTokenUrl()
        Returns:
        the URL for the token endpoint
      • getClientId

        java.lang.String getClientId()
        Returns:
        the configured client id for this provider
      • getClientSecret

        java.lang.String getClientSecret()
        Returns:
        the configured client secret for this provider
      • getMessageFormat

        MessageFormat getMessageFormat()
        Returns:
        the message format this provider expects.
      • getResponseType

        ResponseType getResponseType()
        Returns:
        the format in which this provider responds.