public enum TokenSource extends Enum<TokenSource>
IAuthenticationResult| Enum Constant and Description |
|---|
CACHE
Indicates tokens came from MSAL's cache
|
IDENTITY_PROVIDER
Indicates tokens came from an identity provider, such as Azure AD
|
| Modifier and Type | Method and Description |
|---|---|
static TokenSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenSource IDENTITY_PROVIDER
public static final TokenSource CACHE
public static TokenSource[] values()
for (TokenSource c : TokenSource.values()) System.out.println(c);
public static TokenSource 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–2024. All rights reserved.