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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Collection<String>
The set of oauth scopes required for authenticating the plugin against some service provider.
-
Constructor Details
-
OAuth2ScopeRequirement
public OAuth2ScopeRequirement()
-
-
Method Details
-
getScopes
The set of oauth scopes required for authenticating the plugin against some service provider.
-