authorize
abstract suspend fun authorize(input: AuthenticationRequestParameters, loadUserFun: OAuth2LoadUserFun): KmmResult<AuthenticationResponseResult.Redirect>(source)
Builds the authentication response for this specific user from loadUserFun. Send this result as HTTP Header Location
in a 302 response to the client.
Return
KmmResult may contain a OAuth2Exception
abstract suspend fun authorize(input: String): KmmResult<AuthenticationResponseResult.Redirect>(source)
abstract suspend fun authorize(input: AuthenticationRequestParameters): KmmResult<AuthenticationResponseResult.Redirect>(source)
Deprecated
Use `authorize` with `loadUserFun` instead