DefaultAgent

Default implementation of the Agent interface.

Functions

Link copied to clipboard
open suspend override fun authorize(oidcConfig: OidcConfig<Unit>): AuthCode

Authorize the DefaultAgent with the OpenID Connect provider. This implementation always throws an AuthorizeException.

Link copied to clipboard
open override fun config(): () -> Unit

Provides an empty configuration for the DefaultAgent.

Link copied to clipboard
open suspend override fun endSession(oidcConfig: OidcConfig<Unit>, idToken: String): Boolean

End the session with the OpenID Connect provider. This implementation always returns false.