LogoutRepository

Functions

Link copied to clipboard
abstract suspend fun clearClientRelatedLocalMetadata()

Clears all client related local metadata.

Link copied to clipboard
abstract suspend fun logout(): Either<CoreFailure, Unit>

Informs the backend about the logout, invalidating the current credentials.

Link copied to clipboard
abstract suspend fun observeLogout(): <Error class: unknown class><<Error class: unknown class>>

Listen to a logout event. The event caries a LogoutReason.

Link copied to clipboard
abstract suspend fun onLogout(reason: <Error class: unknown class>)

Propagates the logout event and reason, listenable through observeLogout