copyWith method

QuickbooksConnectConfiguration copyWith({
  1. String? issuer,
  2. String? authorizationEndpoint,
  3. String? tokenEndpoint,
  4. String? userInfoEndpoint,
  5. String? revocationEndpoint,
  6. String? jwksUri,
  7. List<Oauth2ResponseTypes>? responseTypesSupported,
  8. List<Oauth2SubjectTypes>? subjectTypesSupported,
  9. List<Oauth2SigningAlg>? idTokenSigningAlgValuesSupported,
  10. List<Oauth2Scopes>? scopesSupported,
  11. List<Oauth2TokenEndpointAuthMethods>? tokenEndpointAuthMethodsSupported,
  12. List<Oauth2Claims>? claimsSupported,
})

Implementation

QuickbooksConnectConfiguration copyWith({
  String? issuer,
  String? authorizationEndpoint,
  String? tokenEndpoint,
  String? userInfoEndpoint,
  String? revocationEndpoint,
  String? jwksUri,
  List<Oauth2ResponseTypes>? responseTypesSupported,
  List<Oauth2SubjectTypes>? subjectTypesSupported,
  List<Oauth2SigningAlg>? idTokenSigningAlgValuesSupported,
  List<Oauth2Scopes>? scopesSupported,
  List<Oauth2TokenEndpointAuthMethods>? tokenEndpointAuthMethodsSupported,
  List<Oauth2Claims>? claimsSupported,
}) {
  return QuickbooksConnectConfiguration(
    issuer: issuer ?? this.issuer,
    authorizationEndpoint:
        authorizationEndpoint ?? this.authorizationEndpoint,
    tokenEndpoint: tokenEndpoint ?? this.tokenEndpoint,
    userInfoEndpoint: userInfoEndpoint ?? this.userInfoEndpoint,
    revocationEndpoint: revocationEndpoint ?? this.revocationEndpoint,
    jwksUri: jwksUri ?? this.jwksUri,
    responseTypesSupported:
        responseTypesSupported ?? this.responseTypesSupported,
    subjectTypesSupported:
        subjectTypesSupported ?? this.subjectTypesSupported,
    idTokenSigningAlgValuesSupported: idTokenSigningAlgValuesSupported ??
        this.idTokenSigningAlgValuesSupported,
    scopesSupported: scopesSupported ?? this.scopesSupported,
    tokenEndpointAuthMethodsSupported: tokenEndpointAuthMethodsSupported ??
        this.tokenEndpointAuthMethodsSupported,
    claimsSupported: claimsSupported ?? this.claimsSupported,
  );
}