You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The source of the tokens in the {@link AuthenticationResult}, see {@link TokenSource} for possible values
25
+
*/
23
26
privateTokenSourcetokenSource;
27
+
28
+
/**
29
+
* When the token should be proactively refreshed. May be null or 0 if proactive refresh is not used
30
+
*/
24
31
privateLongrefreshOn;
32
+
33
+
/**
34
+
* Specifies the reason for refreshing a token, see {@link CacheRefreshReason} for possible values.Will be {@link CacheRefreshReason#NOT_APPLICABLE} if the token was not refreshed
// Copyright (c) Microsoft Corporation. All rights reserved.
2
+
// Licensed under the MIT License.
3
+
4
+
packagecom.microsoft.aad.msal4j;
5
+
6
+
/**
7
+
* Specifies the reason for fetching the access token from the identity provider when using {@link AbstractClientApplicationBase#acquireTokenSilently(SilentParameters)}
8
+
*/
9
+
publicenumCacheRefreshReason {
10
+
/**
11
+
* Token did not need to be refreshed, or was retrieved in a non-silent call
12
+
*/
13
+
NOT_APPLICABLE(0),
14
+
/**
15
+
* Silent call was made with the force refresh option
16
+
*/
17
+
FORCE_REFRESH(1),
18
+
/**
19
+
* Access token was missing from the cache, but a valid refresh token was used to retrieve a new access token
20
+
*/
21
+
NO_CACHED_ACCESS_TOKEN(2),
22
+
/**
23
+
* Cached access token was expired and successfully refreshed
24
+
*/
25
+
EXPIRED(3),
26
+
/**
27
+
* Cached access token was not expired but was after the 'refresh_in' value, and was proactively refreshed before the expiration date
0 commit comments