Class StringCredentialsTokenSource
java.lang.Object
jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthToken,org.jenkinsci.plugins.plaincredentials.StringCredentials>
org.jenkinsci.plugins.kubernetes.tokensource.StringCredentialsTokenSource
- All Implemented Interfaces:
ExtensionPoint
@Extension(optional=true)
public class StringCredentialsTokenSource
extends jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthToken,org.jenkinsci.plugins.plaincredentials.StringCredentials>
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(org.jenkinsci.plugins.plaincredentials.StringCredentials credential) Methods inherited from class jenkins.authentication.tokens.api.AuthenticationTokenSource
consumes, consumes, fits, isFit, matcher, produces
-
Constructor Details
-
StringCredentialsTokenSource
public StringCredentialsTokenSource()
-
-
Method Details
-
convert
@NonNull public KubernetesAuthToken convert(@NonNull org.jenkinsci.plugins.plaincredentials.StringCredentials credential) - Specified by:
convert
in classjenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthToken,
org.jenkinsci.plugins.plaincredentials.StringCredentials>
-