AccessProvider

interface AccessProvider

Properties

Link copied to clipboard
abstract val accessId: String

Token for current session.

Functions

Link copied to clipboard
abstract fun clearAccessId()

Clear authorization data at the storage.

Link copied to clipboard
abstract fun logout()

Logout user if server response contains access id error.

Link copied to clipboard
abstract fun saveAccessId(response: UserAuthResponse)

Save authorization data into storage.

Inheritors

Link copied to clipboard