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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials standardUsernamePasswordCredentials) Converts username/password credentials to an authenticator.Methods inherited from class jenkins.authentication.tokens.api.AuthenticationTokenSource
consumes, consumes, fits, isFit, matcher, produces
-
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 classjenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketUsernamePasswordAuthenticator,
com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> - Parameters:
standardUsernamePasswordCredentials
- the username/password combo- Returns:
- an authenticator that will use them.
-