internalCreateReauthenticateRequest method

Future<InternalAuthenticateRequest> internalCreateReauthenticateRequest(
  1. String idTokenHint,
  2. 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,
  );
}