public class AuthenticationResultMetadata extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthenticationResultMetadata.AuthenticationResultMetadataBuilder |
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationResultMetadata.AuthenticationResultMetadataBuilder |
builder() |
CacheRefreshReason |
cacheRefreshReason()
Specifies the reason for refreshing the access token, see
CacheRefreshReason for possible values. |
Long |
refreshOn()
When the token should be proactively refreshed.
|
TokenSource |
tokenSource()
The source of the tokens in the
AuthenticationResult, see TokenSource for possible values |
public static AuthenticationResultMetadata.AuthenticationResultMetadataBuilder builder()
public TokenSource tokenSource()
AuthenticationResult, see TokenSource for possible valuespublic Long refreshOn()
public 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.Copyright © 2013–2025. All rights reserved.