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)
      Build an OAuth service from the web context.
      Specified by:
      buildService in class OAuthConfiguration
      Parameters:
      context - the web context
      client - the client
      Returns:
      the OAuth service
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object