Class OAuth10Configuration


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

      • OAuth10Configuration

        public OAuth10Configuration()
    • Method Detail

      • 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 java.lang.String getRequestTokenSessionAttributeName​(java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object