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.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credential) Methods inherited from class jenkins.authentication.tokens.api.AuthenticationTokenSource
consumes, consumes, fits, isFit, matcher, produces
-
Constructor Details
-
GoogleRobotCredentialsTokenSource
public GoogleRobotCredentialsTokenSource()
-
-
Method Details
-
convert
@NonNull public KubernetesAuthToken convert(@NonNull com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credential) - Specified by:
convertin classjenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthToken,com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials>
-