authorize

Builds the authentication response. Send this result as HTTP Header Location in a 302 response to the client.

Return

URL build from client's redirect_uri with a code query parameter containing a fresh authorization code from codeService.

Parameters

loadUserFun

will be called when the request has been validated, and user data is associated with the authorization code.


open suspend override fun authorize(input: String): KmmResult<AuthenticationResponseResult.Redirect>(source)

Deprecated

Use `authorize` with `loadUserFun` instead