Class UsernamePasswordCredentialsTokenSource
java.lang.Object
jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuth,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
org.jenkinsci.plugins.kubernetes.tokensource.UsernamePasswordCredentialsTokenSource
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class UsernamePasswordCredentialsTokenSource
extends jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuth,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
-
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 credential) Methods inherited from class jenkins.authentication.tokens.api.AuthenticationTokenSource
consumes, consumes, fits, isFit, matcher, produces
-
Constructor Details
-
UsernamePasswordCredentialsTokenSource
public UsernamePasswordCredentialsTokenSource()
-
-
Method Details
-
convert
@NonNull public KubernetesAuth convert(@NonNull com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credential) throws jenkins.authentication.tokens.api.AuthenticationTokenException - Specified by:
convert
in classjenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuth,
com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> - Throws:
jenkins.authentication.tokens.api.AuthenticationTokenException
-