Class EntraOAuth2ScopeRequirement

java.lang.Object
com.cloudbees.plugins.credentials.domains.DomainRequirement
com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeRequirement
io.jenkins.plugins.entraoauth.EntraOAuth2ScopeRequirement
All Implemented Interfaces:
ExtensionPoint, Serializable

public class EntraOAuth2ScopeRequirement extends com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeRequirement
Entra-specific OAuth2 scope requirement.
See Also:
  • Constructor Details

    • EntraOAuth2ScopeRequirement

      @DataBoundConstructor public EntraOAuth2ScopeRequirement(@NonNull Collection<String> scopes)
      Creates a scope requirement with the provided scopes.
  • Method Details

    • getScopes

      public Collection<String> getScopes()
      Returns required scopes.
      Specified by:
      getScopes in class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeRequirement
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object