Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AuthenticationTokenContext<T> - Class in jenkins.authentication.tokens.api
-
The context within which an authentication token will be used.
- AuthenticationTokenContext(Class<T>) - Constructor for class jenkins.authentication.tokens.api.AuthenticationTokenContext
-
Creates a basic context for any purpose.
- AuthenticationTokenContext.Builder<T> - Class in jenkins.authentication.tokens.api
-
A non-thread safe builder of
AuthenticationTokenContext
instances. - AuthenticationTokenException - Exception in jenkins.authentication.tokens.api
-
An exception thrown when a specific
Credentials
could not be converted into an authentication token. - AuthenticationTokenException() - Constructor for exception jenkins.authentication.tokens.api.AuthenticationTokenException
- AuthenticationTokenException(String) - Constructor for exception jenkins.authentication.tokens.api.AuthenticationTokenException
- AuthenticationTokenException(String, Throwable) - Constructor for exception jenkins.authentication.tokens.api.AuthenticationTokenException
- AuthenticationTokenException(Throwable) - Constructor for exception jenkins.authentication.tokens.api.AuthenticationTokenException
- AuthenticationTokens - Class in jenkins.authentication.tokens.api
-
Utility class for manipulating authentication tokens.
- AuthenticationTokenSource<T,
C extends com.cloudbees.plugins.credentials.Credentials> - Class in jenkins.authentication.tokens.api -
Converts
Credentials
into authentication tokens - AuthenticationTokenSource(Class<T>, Class<C>) - Constructor for class jenkins.authentication.tokens.api.AuthenticationTokenSource
-
Constructor.
B
- build() - Method in class jenkins.authentication.tokens.api.AuthenticationTokenContext.Builder
-
Instantiates the
AuthenticationTokenContext
. - builder(Class<T>) - Static method in class jenkins.authentication.tokens.api.AuthenticationTokenContext
-
Creates a
AuthenticationTokenContext.Builder
for contexts of the specified token type.
C
- canHave(Object, Object...) - Method in class jenkins.authentication.tokens.api.AuthenticationTokenContext
-
Checks if the context specifies the supplied purpose and matches against the valid values.
- consumes(Credentials) - Method in class jenkins.authentication.tokens.api.AuthenticationTokenSource
-
Checks if this source consumes the specific
Credentials
instance. - consumes(Class<C>) - Method in class jenkins.authentication.tokens.api.AuthenticationTokenSource
-
Checks if this source consumes
Credentials
of the specified type. - convert(C) - Method in class jenkins.authentication.tokens.api.AuthenticationTokenSource
-
Converts the specified credentials into a token.
- convert(Class<T>, C) - Static method in class jenkins.authentication.tokens.api.AuthenticationTokens
-
Converts the supplied credentials into the specified token.
- convert(AuthenticationTokenContext<T>, C) - Static method in class jenkins.authentication.tokens.api.AuthenticationTokens
-
Converts the supplied credentials into the specified token.
- convert(AuthenticationTokenContext<T>, C...) - Static method in class jenkins.authentication.tokens.api.AuthenticationTokens
-
Converts the best match of the supplied credentials into the specified token.
- convert(AuthenticationTokenContext<T>, List<C>) - Static method in class jenkins.authentication.tokens.api.AuthenticationTokens
-
Converts the best match of the supplied credentials into the specified token.
F
- fits(AuthenticationTokenContext<?>) - Method in class jenkins.authentication.tokens.api.AuthenticationTokenSource
-
Checks if this source fits the specified context.
G
- getTokenClass() - Method in class jenkins.authentication.tokens.api.AuthenticationTokenContext
-
Returns the type of token.
I
- isFit(AuthenticationTokenContext<? super T>) - Method in class jenkins.authentication.tokens.api.AuthenticationTokenSource
-
Checks if this source fits the specified context, override this method
J
- jenkins.authentication.tokens.api - package jenkins.authentication.tokens.api
M
- matcher() - Method in class jenkins.authentication.tokens.api.AuthenticationTokenSource
-
Produces a
CredentialsMatcher
for this specificAuthenticationTokenSource
. - matcher(Class<T>) - Static method in class jenkins.authentication.tokens.api.AuthenticationTokens
-
Builds a matcher for credentials that can be converted into the supplied token type.
- matcher(AuthenticationTokenContext<T>) - Static method in class jenkins.authentication.tokens.api.AuthenticationTokens
-
Builds a matcher for credentials that can be converted into the supplied token type.
- mustHave(Object, Object...) - Method in class jenkins.authentication.tokens.api.AuthenticationTokenContext
-
Ensures the context specifies the supplied purpose matching against the valid values.
P
- produces(Class<T>) - Method in class jenkins.authentication.tokens.api.AuthenticationTokenSource
-
Checks if this source produces the specified token type.
W
- with(Object) - Method in class jenkins.authentication.tokens.api.AuthenticationTokenContext.Builder
-
Specifies the supplied purpose (with value
Boolean.TRUE
). - with(Object, Object) - Method in class jenkins.authentication.tokens.api.AuthenticationTokenContext.Builder
-
Specifies the supplied purpose with the specified value.
All Classes and Interfaces|All Packages|Serialized Form