Class OAuth2ServiceProviderDescriptor

java.lang.Object
org.nuxeo.ecm.platform.oauth2.providers.OAuth2ServiceProviderDescriptor

public class OAuth2ServiceProviderDescriptor extends Object
Since:
7.3
  • Field Details

    • DEFAULT_ACCESS_TOKEN_KEY

      public static final String DEFAULT_ACCESS_TOKEN_KEY
      See Also:
    • DEFAULT_PROVIDER_CLASS

      public static final Class<? extends OAuth2ServiceProvider> DEFAULT_PROVIDER_CLASS
    • enabled

      protected boolean enabled
    • name

      protected String name
    • tokenServerURL

      protected String tokenServerURL
    • authorizationServerURL

      protected String authorizationServerURL
    • userInfoURL

      protected String userInfoURL
    • accessTokenKey

      protected String accessTokenKey
    • clientId

      protected String clientId
    • clientSecret

      protected String clientSecret
    • scopes

      protected String[] scopes
    • icon

      protected String icon
    • label

      protected String label
    • description

      protected String description
    • providerClass

      protected Class<? extends OAuth2ServiceProvider> providerClass
  • Constructor Details

    • OAuth2ServiceProviderDescriptor

      public OAuth2ServiceProviderDescriptor()
  • Method Details

    • getName

      public String getName()
    • getTokenServerURL

      public String getTokenServerURL()
    • getAuthorizationServerURL

      public String getAuthorizationServerURL()
    • getClientId

      public String getClientId()
    • getClientSecret

      public String getClientSecret()
    • getScopes

      public String[] getScopes()
    • getIcon

      public String getIcon()
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getLabel

      public String getLabel()
    • getDescription

      public String getDescription()
    • getProviderClass

      public Class<? extends OAuth2ServiceProvider> getProviderClass()