Class OAuth2ScopeRequirement

java.lang.Object
com.cloudbees.plugins.credentials.domains.DomainRequirement
com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeRequirement
All Implemented Interfaces:
ExtensionPoint, Serializable

public abstract class OAuth2ScopeRequirement extends com.cloudbees.plugins.credentials.domains.DomainRequirement
A requirement for a set of OAuth2 scopes NOTE: This should never be implemented directly as scopes do not work across multiple providers. OAuth2 providers should provide a sub-interface on which to type filter, e.g. GoogleOAuth2ScopeRequirement
See Also:
  • Constructor Details

    • OAuth2ScopeRequirement

      public OAuth2ScopeRequirement()
  • Method Details

    • getScopes

      public abstract Collection<String> getScopes()
      The set of oauth scopes required for authenticating the plugin against some service provider.