User

interface User

Interface for a User. Provides methods for token management, user information retrieval, and logout.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun logout()

Logs out the user.

Link copied to clipboard
abstract suspend fun revoke()

Revokes the user's token.

Link copied to clipboard
abstract suspend fun token(): Result<Token, OidcError>

Retrieves the token for the user.

Link copied to clipboard
abstract suspend fun userinfo(cache: Boolean = false): Result<JsonObject, OidcError>

Retrieves the user's information.