Class OAuth2ScopeSpecification.Descriptor<T extends OAuth2ScopeRequirement>

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

      • Descriptor

        public Descriptor​(Class<T> providerRequirement)
    • Method Detail

      • 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.