public static interface BoxAuthentication.AuthListener
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthCreated(BoxAuthentication.BoxAuthenticationInfo info)
Called when this user has logged in.
|
void |
onAuthFailure(BoxAuthentication.BoxAuthenticationInfo info,
java.lang.Exception ex)
Called when a failure occurs trying to authenticate or refresh.
|
void |
onLoggedOut(BoxAuthentication.BoxAuthenticationInfo info,
java.lang.Exception ex)
Called when the session was logged out of
|
void |
onRefreshed(BoxAuthentication.BoxAuthenticationInfo info)
Called when the current session has been refreshed with new authentication info.
|
void onRefreshed(BoxAuthentication.BoxAuthenticationInfo info)
info - the latest info from a successful refresh.void onAuthCreated(BoxAuthentication.BoxAuthenticationInfo info)
info - the latest info from going through the login flow.void onAuthFailure(BoxAuthentication.BoxAuthenticationInfo info, java.lang.Exception ex)
info - The last authentication information available, before the exception.ex - the exception that occurred.void onLoggedOut(BoxAuthentication.BoxAuthenticationInfo info, java.lang.Exception ex)
info - The last authentication information availableex - the exception that occurred, if any