Uses of Class
jenkins.authentication.tokens.api.AuthenticationTokenContext
-
Uses of AuthenticationTokenContext in jenkins.authentication.tokens.api
Methods in jenkins.authentication.tokens.api that return AuthenticationTokenContextModifier and TypeMethodDescriptionAuthenticationTokenContext.Builder.build()Instantiates theAuthenticationTokenContext.Methods in jenkins.authentication.tokens.api with parameters of type AuthenticationTokenContextModifier 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 booleanAuthenticationTokenSource.fits(AuthenticationTokenContext<?> context) Checks if this source fits the specified context.protected booleanAuthenticationTokenSource.isFit(AuthenticationTokenContext<? super T> context) Checks if this source fits the specified context, override this methodstatic <T> com.cloudbees.plugins.credentials.CredentialsMatcherAuthenticationTokens.matcher(AuthenticationTokenContext<T> context) Builds a matcher for credentials that can be converted into the supplied token type.