Class EntraOAuthCredentials.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<com.cloudbees.plugins.credentials.Credentials>
com.cloudbees.plugins.credentials.CredentialsDescriptor
io.jenkins.plugins.entraoauth.EntraOAuthCredentials.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster, IconSpec
Enclosing class:
EntraOAuthCredentials

@Extension @Symbol("entraOAuth") public static class EntraOAuthCredentials.DescriptorImpl extends com.cloudbees.plugins.credentials.CredentialsDescriptor
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<com.cloudbees.plugins.credentials.Credentials>
    • doFillTenantIdItems

      public ComboBoxModel doFillTenantIdItems()
      Provides tenant ID suggestions.
    • getDefaultAuthorityHost

      public String getDefaultAuthorityHost()
      Returns the default authority host.
    • doCheckScopes

      public FormValidation doCheckScopes(@QueryParameter String value)
      Validates scopes input.
    • doTestConnection

      public FormValidation doTestConnection(@QueryParameter String tenantId, @QueryParameter String clientId, @QueryParameter String scopes, @QueryParameter String username, @QueryParameter String authorityHost, @QueryParameter("authenticationMethod.stapler-class") String authStaplerClass, @QueryParameter("authenticationMethod.$class") String authDollarClass, @QueryParameter Secret clientSecret, @QueryParameter Secret certificateBase64, @QueryParameter Secret certificatePassword, @QueryParameter Secret certificatePem, @QueryParameter Secret privateKeyPem, @QueryParameter Secret privateKeyPassword)
      Tests token acquisition with the provided settings.