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