build_authorization_url


Description:

[ CCode ( cname = "rest_oauth2_proxy_build_authorization_url" ) ]
[ Version ( since = "0.8" ) ]
public string build_authorization_url (string code_challenge, string? scope, out string state)

Parameters:

this

a OAuth2Proxy

code_challenge

the code challenge (see PkceCodeChallenge)

scope

the requesting scope of the resource

state

a CRSF token which should be verified from the redirect_uri

Returns:

the authorization url which should be shown in a WebView in order to accept/decline the request to authorize the application