copyWith method

MSALInteractiveTokenParameters copyWith({
  1. List<String>? scopes,
  2. Map<String, dynamic>? extraQueryParameters,
  3. String? correlationId,
  4. Uri? authority,
  5. List<String>? extraScopesToConsent,
  6. String? loginHint,
  7. MSALPromptType? promptType,
})

Implementation

MSALInteractiveTokenParameters copyWith({
  List<String>? scopes,
  Map<String, dynamic>? extraQueryParameters,
  String? correlationId,
  Uri? authority,
  List<String>? extraScopesToConsent,
  String? loginHint,
  MSALPromptType? promptType,
}) {
  return MSALInteractiveTokenParameters(
    scopes: scopes ?? this.scopes,
    extraQueryParameters: extraQueryParameters ?? this.extraQueryParameters,
    correlationId: correlationId ?? this.correlationId,
    promptType: promptType ?? this.promptType,
    authority: authority ?? this.authority,
    extraScopesToConsent: extraScopesToConsent ?? this.extraScopesToConsent,
    loginHint: loginHint ?? this.loginHint,
  );
}