Class AzureUsernamePasswordCredentials

  • All Implemented Interfaces:
    com.cloudbees.plugins.credentials.common.IdCredentials, com.cloudbees.plugins.credentials.common.PasswordCredentials, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.common.StandardUsernameCredentials, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials, com.cloudbees.plugins.credentials.common.UsernameCredentials, com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials, com.cloudbees.plugins.credentials.Credentials, ExtensionPoint, Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable

    public class AzureUsernamePasswordCredentials
    extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
    implements com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AzureUsernamePasswordCredentials.DescriptorImpl  
      • Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

        com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
      • Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

        com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
      • Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

        com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider
      • Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials

        com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials.NameProvider
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Secret getPassword()  
      String getUsername()  
      • Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

        equals, getDescription, getId, hashCode
      • Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials

        getDescriptor, getScope
      • Methods inherited from interface com.cloudbees.plugins.credentials.Credentials

        forRun, getDescriptor, getScope
      • Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

        getId
      • Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

        getDescription
      • Methods inherited from interface com.cloudbees.plugins.credentials.common.UsernameCredentials

        isUsernameSecret
    • Constructor Detail

      • AzureUsernamePasswordCredentials

        public AzureUsernamePasswordCredentials​(com.cloudbees.plugins.credentials.CredentialsScope scope,
                                                String id,
                                                String username,
                                                String description,
                                                Supplier<Secret> password)
    • Method Detail

      • getPassword

        @NonNull
        public Secret getPassword()
        Specified by:
        getPassword in interface com.cloudbees.plugins.credentials.common.PasswordCredentials
      • getUsername

        @NonNull
        public String getUsername()
        Specified by:
        getUsername in interface com.cloudbees.plugins.credentials.common.UsernameCredentials