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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description OAuth2ScopeRequirement()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Collection<String>
getScopes()
The set of oauth scopes required for authenticating the plugin against some service provider.
-
-
-
Method Detail
-
getScopes
public abstract Collection<String> getScopes()
The set of oauth scopes required for authenticating the plugin against some service provider.
-
-