copyWith method
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,
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,
);
}