signOut

abstract suspend fun signOut(scope: SignOutScope = SignOutScope.LOCAL)(source)

Signs out the current user, which means sessionStatus will be SessionStatus.NotAuthenticated and the access token will be revoked

Parameters

scope

The scope of the sign-out.

See also

Throws

or one of its subclasses if receiving an error response. If the error response contains a error code, an AuthRestException will be thrown which can be used to easier identify the problem.

HttpRequestTimeoutException

if the request timed out

on network related issues