Class BitbucketUsernamePasswordAuthenticatorSource
java.lang.Object
jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketUsernamePasswordAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
com.cloudbees.jenkins.plugins.bitbucket.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
Methods inherited from class jenkins.authentication.tokens.api.AuthenticationTokenSource
consumes, consumes, fits, isFit, 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.
-
matcher
public com.cloudbees.plugins.credentials.CredentialsMatcher matcher()- Overrides:
matcher
in classjenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketUsernamePasswordAuthenticator,
com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
-