<T,U extends T> TokenCredential.Builder |
TokenCredential.Builder.addToken(Class<T> tokenClass,
U tokenInstance) |
Add a token instance (such as JWT instance).
|
TokenCredential.Builder |
TokenCredential.Builder.addToken(Object token) |
Add a token instance (such as JWT instance).
|
static TokenCredential.Builder |
TokenCredential.builder() |
Get a builder for this class.
|
TokenCredential.Builder |
TokenCredential.Builder.expTime(Instant expirationTime) |
Time the token would expire.
|
TokenCredential.Builder |
TokenCredential.Builder.issuer(String issuer) |
Issuer of the token.
|
TokenCredential.Builder |
TokenCredential.Builder.issueTime(Instant issueTime) |
Time the token was issued.
|
TokenCredential.Builder |
TokenCredential.Builder.token(String token) |
Set the token content (the actual string travelling on the network).
|