internalCreateSettingsActionRequest method
Future<InternalAuthenticateRequest>
internalCreateSettingsActionRequest(
- String clientID,
- String idTokenHint,
- String loginHint,
- SettingsActionOptions options,
)
Implementation
Future<InternalAuthenticateRequest> internalCreateSettingsActionRequest(
String clientID,
String idTokenHint,
String loginHint,
SettingsActionOptions options) async {
final codeVerifier = CodeVerifier(_rng);
final oidcRequest =
options.toRequest(clientID, idTokenHint, loginHint, codeVerifier);
final url = await internalBuildAuthorizationURL(oidcRequest);
return InternalAuthenticateRequest(
url: url,
redirectURI: oidcRequest.redirectURI,
verifier: codeVerifier,
);
}