public static interface AuthState.AuthStateAction
Interface for actions executed in the context of fresh (non-expired) tokens.
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String accessToken,
String idToken,
AuthorizationException ex)
Executed in the context of fresh (non-expired) tokens.
|
void execute(@Nullable
String accessToken,
@Nullable
String idToken,
@Nullable
AuthorizationException ex)
Executed in the context of fresh (non-expired) tokens. If new tokens were required to execute the action and could not be acquired, an authorization exception is provided instead. One or both of the access token and ID token will be provided, dependent upon the token types previously negotiated.