Class OAuth10Configuration

java.lang.Object
org.pac4j.core.util.InitializableObject
org.pac4j.core.client.config.BaseClientConfiguration
org.pac4j.oauth.config.OAuthConfiguration
org.pac4j.oauth.config.OAuth10Configuration

public class OAuth10Configuration extends OAuthConfiguration
The OAuh 1.0 configuration.
Since:
2.0.0
Author:
Jerome Leleu
  • Field Details

  • Constructor Details

    • OAuth10Configuration

      public OAuth10Configuration()
  • Method Details

    • buildService

      public com.github.scribejava.core.oauth.OAuthService buildService(org.pac4j.core.context.WebContext context, org.pac4j.core.client.IndirectClient client)

      buildService.

      Build an OAuth service from the web context.
      Specified by:
      buildService in class OAuthConfiguration
      Parameters:
      context - a WebContext object
      client - a IndirectClient object
      Returns:
      a OAuthService object
    • getRequestTokenSessionAttributeName

      public String getRequestTokenSessionAttributeName(String clientName)
      Return the name of the attribute storing in session the request token.
      Parameters:
      clientName - the client name
      Returns:
      the name of the attribute storing in session the request token