internalBuildAuthorizationURL method

Future<Uri> internalBuildAuthorizationURL(
  1. OIDCAuthenticationRequest oidcRequest
)

Implementation

Future<Uri> internalBuildAuthorizationURL(
    OIDCAuthenticationRequest oidcRequest) async {
  final config = await _apiClient.fetchOIDCConfiguration();
  final authenticationURL = Uri.parse(config.authorizationEndpoint)
      .replace(queryParameters: oidcRequest.toQueryParameters());
  return authenticationURL;
}