signoutUser

open fun signoutUser(@NonNull userAccount: UserAccount, frontActivity: Activity)

Logs the specified user out. Push unregistration is best-effort and does not delay removal of the user's local credentials.

Parameters

userAccount

User account.

frontActivity

Front activity.


open fun signoutUser(@NonNull userAccount: UserAccount, frontActivity: Activity, showLoginPage: Boolean)

Logs the specified user out. Push unregistration is best-effort and does not delay removal of the user's local credentials.

Parameters

userAccount

User account.

frontActivity

Front activity.

showLoginPage

True - if the login page should be shown, False - otherwise.


open fun signoutUser(@NonNull userAccount: UserAccount, frontActivity: Activity, showLoginPage: Boolean, reason: OAuth2.LogoutReason)

Logs the specified user out. Push unregistration is best-effort and does not delay removal of the user's local credentials.

Parameters

userAccount

User account.

frontActivity

Front activity.

showLoginPage

True - if the login page should be shown, False - otherwise.

reason

The reason for the logout.