public enum CacheRefreshReason extends Enum<CacheRefreshReason>
AbstractClientApplicationBase.acquireTokenSilently(SilentParameters)| Enum Constant and Description |
|---|
CLAIMS
Silent call was made with claims set
|
EXPIRED
Cached access token was expired and successfully refreshed
|
FORCE_REFRESH
Silent call was made with the force refresh option
|
NO_CACHED_ACCESS_TOKEN
Access token was missing from the cache, but a valid refresh token was used to retrieve a new access token
|
NOT_APPLICABLE
Token did not need to be refreshed, or was retrieved in a non-silent call
|
PROACTIVE_REFRESH
Cached access token was not expired but was after the 'refresh_in' value, and was proactively refreshed before the expiration date
|
| Modifier and Type | Method and Description |
|---|---|
static CacheRefreshReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheRefreshReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheRefreshReason NOT_APPLICABLE
public static final CacheRefreshReason FORCE_REFRESH
public static final CacheRefreshReason CLAIMS
public static final CacheRefreshReason NO_CACHED_ACCESS_TOKEN
public static final CacheRefreshReason EXPIRED
public static final CacheRefreshReason PROACTIVE_REFRESH
public static CacheRefreshReason[] values()
for (CacheRefreshReason c : CacheRefreshReason.values()) System.out.println(c);
public static CacheRefreshReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013–2025. All rights reserved.