Class OAuthClientConfiguration

java.lang.Object
org.forgerock.oauth.OAuthClientConfiguration
Direct Known Subclasses:
OAuth2ClientConfiguration

public abstract class OAuthClientConfiguration extends Object
Base configuration of an OAuth client.
  • Field Details

  • Constructor Details

    • OAuthClientConfiguration

      public OAuthClientConfiguration(OAuthClientConfiguration.Builder<?,?> builder)
      Creates an OAuthClientConfiguration instance.
      Parameters:
      builder - OAuthClientConfiguration instance builder.
  • Method Details

    • getProvider

      public String getProvider()
      Gets the unique provider name.
      Returns:
      Unique provider name.
    • getAuthenticationIdKey

      public String getAuthenticationIdKey()
      Gets the unique authentication id that an Idp uses to identify a user by.
      Returns:
      authentication Id.
    • getClientClass

      public abstract Class<?> getClientClass()
      Gets the class name of the client implementation consuming the OAuthClientConfiguration.
      Returns:
      the client implementation class name.