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>
  • 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 class jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuth,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
      Throws:
      jenkins.authentication.tokens.api.AuthenticationTokenException