Class BitbucketUsernamePasswordAuthenticatorSource

java.lang.Object
jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketUsernamePasswordAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
com.cloudbees.jenkins.plugins.bitbucket.api.credentials.BitbucketUsernamePasswordAuthenticatorSource
All Implemented Interfaces:
ExtensionPoint

@Extension public class BitbucketUsernamePasswordAuthenticatorSource extends jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketUsernamePasswordAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
Source for username/password authenticators.
  • Constructor Details

    • BitbucketUsernamePasswordAuthenticatorSource

      public BitbucketUsernamePasswordAuthenticatorSource()
      Constructor.
  • Method Details

    • convert

      @NonNull public BitbucketUsernamePasswordAuthenticator convert(@NonNull com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials standardUsernamePasswordCredentials)
      Converts username/password credentials to an authenticator.
      Specified by:
      convert in class jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketUsernamePasswordAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
      Parameters:
      standardUsernamePasswordCredentials - the username/password combo
      Returns:
      an authenticator that will use them.