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
- Enclosing class:
EntraOAuthCredentials
@Extension
@Symbol("entraOAuth")
public static class EntraOAuthCredentials.DescriptorImpl
extends com.cloudbees.plugins.credentials.CredentialsDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.CredentialsDescriptor
com.cloudbees.plugins.credentials.CredentialsDescriptor.EnhancedCheckMethodNested classes/interfaces inherited from class Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckScopes(String value) Validates scopes input.Provides tenant ID suggestions.doTestConnection(String tenantId, String clientId, String scopes, String username, String authorityHost, String authStaplerClass, String authDollarClass, Secret clientSecret, Secret certificateBase64, Secret certificatePassword, Secret certificatePem, Secret privateKeyPem, Secret privateKeyPassword) Tests token acquisition with the provided settings.Returns the default authority host.Methods inherited from class com.cloudbees.plugins.credentials.CredentialsDescriptor
calcAutoCompleteSettings, calcFillSettings, doFillScopeItems, findContextInPath, findContextInPath, getCheckMethod, getCredentialsPage, getDescription, getIconClassName, isApplicable, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, lookupContext, unwrapContextMethods inherited from class Descriptor
addHelpFileRedirect, bindJSON, bindJSON, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<com.cloudbees.plugins.credentials.Credentials>
-
doFillTenantIdItems
Provides tenant ID suggestions. -
getDefaultAuthorityHost
Returns the default authority host. -
doCheckScopes
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.
-