Class GoogleRobotCredentialsTokenSource

java.lang.Object
jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthToken,com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials>
org.jenkinsci.plugins.kubernetes.tokensource.GoogleRobotCredentialsTokenSource
All Implemented Interfaces:
ExtensionPoint

@Extension(optional=true) public class GoogleRobotCredentialsTokenSource extends jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthToken,com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials>
Converts GoogleRobotCredentials to String token.
  • Constructor Details

    • GoogleRobotCredentialsTokenSource

      public GoogleRobotCredentialsTokenSource()
  • Method Details

    • convert

      @NonNull public KubernetesAuthToken convert(@NonNull com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credential)
      Specified by:
      convert in class jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthToken,com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials>