ResourceOwnerFlow

class ResourceOwnerFlow

An authentication flow class that implements the Resource Owner Flow exchange.

This simple authentication flow permits a user to authenticate using a simple username and password. As such, the configuration is straightforward.

Important: Resource Owner authentication does not support MFA or other more secure authentication models, and is not recommended for production applications.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend fun start(    username: String,     password: String,     scope: String = oidcClient.configuration.defaultScope): OidcClientResult<Token>

Initiates the Resource Owner flow.