oidcUser

suspend fun OidcFlow.oidcUser(lookup: suspend OidcFlow.() -> User? = { prepareUser() }): User?

Function to retrieve the user.

Return

The user if found, otherwise null.

Parameters

lookup

A suspend function that takes an OidcFlow and returns a User