TokenRequestReason
Reason why the SDK is requesting a new token from the integrator.
Passed to TokenDelegateListener.onNewTokenRequested so that integrators can log or handle token acquisition differently based on context (e.g. silent refresh vs. full re-login). Implementations are free to ignore the reason and always perform the same token-fetch action.
Entries
No specific reason; used as a safe default for forward-compatible SDK versions.
The backend rejected the stored JWT via HTTP 401; a fresh token is required.
The current token expired during an active session before an outgoing event was sent.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.