internalCreateAuthenticateRequest method
Future<InternalAuthenticateRequest>
internalCreateAuthenticateRequest( - AuthenticateOptions options
)
Implementation
Future<InternalAuthenticateRequest> internalCreateAuthenticateRequest(
AuthenticateOptions options) async {
final codeVerifier = CodeVerifier(_rng);
final dpopJKT = await _dpopProvider.computeJKT();
final oidcRequest = options.toRequest(clientID, codeVerifier, dpopJKT);
final url = await internalBuildAuthorizationURL(oidcRequest);
return InternalAuthenticateRequest(
url: url,
redirectURI: oidcRequest.redirectURI,
verifier: codeVerifier,
);
}