| Modifier and Type | Method and Description |
|---|---|
AuthenticationTokenContext<T> |
AuthenticationTokenContext.Builder.build()
Instantiates the
AuthenticationTokenContext. |
| Modifier and Type | Method and Description |
|---|---|
static <T,C extends com.cloudbees.plugins.credentials.Credentials> |
AuthenticationTokens.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> |
AuthenticationTokens.convert(AuthenticationTokenContext<T> context,
C credentials)
Converts the supplied credentials into the specified token.
|
static <T,C extends com.cloudbees.plugins.credentials.Credentials> |
AuthenticationTokens.convert(AuthenticationTokenContext<T> context,
List<C> credentials)
Converts the best match of the supplied credentials into the specified token.
|
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 method
|
static <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.
|
Copyright © 2016–2020. All rights reserved.