buildAuthorizeUrl static method
Build authorize URL
Implementation
static Future<String> buildAuthorizeUrl(AuthRequest authRequest) async {
return 'https://' +
Util.getHost(Authing.config) +
'/oidc/auth?_authing_lang=' +
authRequest.authingLang +
"&app_id=" +
Authing.sAppId +
"&client_id=" +
Authing.sAppId +
"&nonce=" +
authRequest.nonce +
"&redirect_uri=" +
authRequest.redirectUrl +
"&response_type=" +
authRequest.responseType +
"&scope=" +
authRequest.scope +
"&prompt=consent" +
"&state=" +
authRequest.state +
"&code_challenge=" +
authRequest.codeChallenge +
"&code_challenge_method=" +
'S256';
}