Class OAuth2ScopeSpecification.Descriptor<T extends OAuth2ScopeRequirement>

java.lang.Object
hudson.model.Descriptor<com.cloudbees.plugins.credentials.domains.DomainSpecification>
com.cloudbees.plugins.credentials.domains.DomainSpecificationDescriptor
com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeSpecification.Descriptor<T>
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
OAuth2ScopeSpecification<T extends OAuth2ScopeRequirement>

public abstract static class OAuth2ScopeSpecification.Descriptor<T extends OAuth2ScopeRequirement> extends com.cloudbees.plugins.credentials.domains.DomainSpecificationDescriptor
The base descriptor for specification extensions. This carries the class of requirements to which this specification should apply.
  • Constructor Details

    • Descriptor

      public Descriptor(Class<T> providerRequirement)
  • Method Details

    • getScopeItems

      public Collection<String> getScopeItems()
      Fetches the names and values of the set of scopes consumed by clients of this plugin.
    • getProviderRequirement

      public Class<T> getProviderRequirement()
      Retrieve the class of DomainRequirements to which our associated specifications should apply.