userinfo

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

Retrieves the user's information.

Return

A Result object containing either the user information as a JsonObject or an OidcError.

Parameters

cache

Whether to cache the user information.