@Extension public class BitbucketOAuthAuthenticatorSource extends jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketOAuthAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
BitbucketOAuthAuthenticatorSource()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
BitbucketOAuthAuthenticator |
convert(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials standardUsernamePasswordCredentials)
Converts username/password credentials to an authenticator.
|
boolean |
isFit(jenkins.authentication.tokens.api.AuthenticationTokenContext ctx)
Whether this source works in the given context.
|
com.cloudbees.plugins.credentials.CredentialsMatcher |
matcher() |
consumes, consumes, fits, produces
public BitbucketOAuthAuthenticatorSource()
@NonNull public BitbucketOAuthAuthenticator convert(@NonNull com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials standardUsernamePasswordCredentials)
convert
in class jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketOAuthAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
standardUsernamePasswordCredentials
- the username/password combopublic boolean isFit(jenkins.authentication.tokens.api.AuthenticationTokenContext ctx)
isFit
in class jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketOAuthAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
ctx
- the contextpublic com.cloudbees.plugins.credentials.CredentialsMatcher matcher()
matcher
in class jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketOAuthAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
Copyright © 2016–2022. All rights reserved.