public static interface ISingleAccountPublicClientApplication.CurrentAccountCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onAccountChanged(IAccount priorAccount,
IAccount currentAccount)
Invoked when signed-in account is changed after the application resumes, or prior to running a scheduled background operation.
|
void |
onAccountLoaded(IAccount activeAccount)
Invoked when the account is loaded.
|
void |
onError(MsalException exception)
Invoked when the account failed to load.
|
void onAccountLoaded(IAccount activeAccount)
activeAccount - the signed-in account. This could be null.void onAccountChanged(IAccount priorAccount, IAccount currentAccount)
priorAccount - the previous signed-in account. This could be null.currentAccount - the current signed-in account. This could be null.void onError(MsalException exception)
exception - the exception object.