authorize

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

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.