OidcUser

class OidcUser(oidcClient: OidcClient) : User

Class for an OIDC User.

Constructors

Link copied to clipboard
constructor(oidcClientConfig: OidcClientConfig)

Secondary constructor that takes an OidcClientConfig.

constructor(oidcClient: OidcClient)

Functions

Link copied to clipboard
open suspend override fun logout()

Logs out the user.

Link copied to clipboard
open suspend override fun revoke()

Revokes the user's token.

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

Gets the token for the user.

Link copied to clipboard
open suspend override fun userinfo(cache: Boolean): Result<JsonObject, OidcError>

Gets the user information.