T - the token type.@NotThreadSafe public static final class AuthenticationTokenContext.Builder<T> extends Object
AuthenticationTokenContext instances.| Modifier and Type | Method and Description |
|---|---|
AuthenticationTokenContext<T> |
build()
Instantiates the
AuthenticationTokenContext. |
AuthenticationTokenContext.Builder<T> |
with(Object purpose)
Specifies the supplied purpose (with value
Boolean.TRUE). |
AuthenticationTokenContext.Builder<T> |
with(Object purpose,
Object value)
Specifies the supplied purpose with the specified value.
|
@NonNull public AuthenticationTokenContext.Builder<T> with(@NonNull Object purpose)
Boolean.TRUE).purpose - the purpose.this for method chaining.@NonNull public AuthenticationTokenContext.Builder<T> with(@NonNull Object purpose, @CheckForNull Object value)
purpose - the purpose.value - the value.this for method chaining.@NonNull public AuthenticationTokenContext<T> build()
AuthenticationTokenContext.AuthenticationTokenContext.Copyright © 2004-2015. All Rights Reserved.