SignOutService

interface SignOutService

This interface defines a method to sign out, or to renew the token. It's implemented at the session level.

Functions

Link copied to clipboard
abstract suspend fun signInAgain(password: String)

Ask the homeserver for a new access token. The same deviceId will be used

Link copied to clipboard
abstract suspend fun signOut(signOutFromHomeserver: Boolean, ignoreServerRequestError: Boolean = false)

Sign out, and release the session, clear all the session data, including crypto data.

Link copied to clipboard
abstract suspend fun updateCredentials(credentials: Credentials)

Update the session with credentials received after SSO.