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>
  • 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 class jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthKubeconfig,org.jenkinsci.plugins.plaincredentials.FileCredentials>
      Throws:
      jenkins.authentication.tokens.api.AuthenticationTokenException