public static class AuthenticationResultMetadata.AuthenticationResultMetadataBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
AuthenticationResultMetadata |
build() |
AuthenticationResultMetadata.AuthenticationResultMetadataBuilder |
cacheRefreshReason(CacheRefreshReason cacheRefreshReason)
Specifies the reason for refreshing the access token, see
CacheRefreshReason for possible values. |
AuthenticationResultMetadata.AuthenticationResultMetadataBuilder |
refreshOn(Long refreshOn)
When the token should be proactively refreshed.
|
AuthenticationResultMetadata.AuthenticationResultMetadataBuilder |
tokenSource(TokenSource tokenSource)
The source of the tokens in the
AuthenticationResult, see TokenSource for possible values |
String |
toString() |
public AuthenticationResultMetadata.AuthenticationResultMetadataBuilder tokenSource(TokenSource tokenSource)
AuthenticationResult, see TokenSource for possible valuesthis.public AuthenticationResultMetadata.AuthenticationResultMetadataBuilder refreshOn(Long refreshOn)
this.public AuthenticationResultMetadata.AuthenticationResultMetadataBuilder cacheRefreshReason(CacheRefreshReason cacheRefreshReason)
CacheRefreshReason for possible values. Will be CacheRefreshReason.NOT_APPLICABLE if the token was returned from the cache or if the API used to fetch the token does not attempt to read the cache.this.public AuthenticationResultMetadata build()
Copyright © 2013–2025. All rights reserved.