Uses of Class
jenkins.authentication.tokens.api.AuthenticationTokenContext
-
Uses of AuthenticationTokenContext in jenkins.authentication.tokens.api
Modifier and TypeMethodDescriptionAuthenticationTokenContext.Builder.build()
Instantiates theAuthenticationTokenContext
.Modifier and TypeMethodDescriptionstatic <T,
C extends com.cloudbees.plugins.credentials.Credentials>
TAuthenticationTokens.convert
(AuthenticationTokenContext<T> context, C credentials) Converts the supplied credentials into the specified token.static <T,
C extends com.cloudbees.plugins.credentials.Credentials>
TAuthenticationTokens.convert
(AuthenticationTokenContext<T> context, C... credentials) Converts the best match of the supplied credentials into the specified token.static <T,
C extends com.cloudbees.plugins.credentials.Credentials>
TAuthenticationTokens.convert
(AuthenticationTokenContext<T> context, List<C> credentials) Converts the best match of the supplied credentials into the specified token.final boolean
AuthenticationTokenSource.fits
(AuthenticationTokenContext<?> context) Checks if this source fits the specified context.protected boolean
AuthenticationTokenSource.isFit
(AuthenticationTokenContext<? super T> context) Checks if this source fits the specified context, override this methodstatic <T> com.cloudbees.plugins.credentials.CredentialsMatcher
AuthenticationTokens.matcher
(AuthenticationTokenContext<T> context) Builds a matcher for credentials that can be converted into the supplied token type.