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