Class 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
    • Constructor Detail

      • OAuth2ScopeRequirement

        public OAuth2ScopeRequirement()
    • Method Detail

      • getScopes

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