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