UpdateGenericOIDCProviderRequest constructor

UpdateGenericOIDCProviderRequest({
  1. String? id,
  2. String? name,
  3. String? issuer,
  4. String? clientId,
  5. String? clientSecret,
  6. Iterable<String>? scopes,
  7. Options? providerOptions,
  8. bool? isIdTokenMapping,
})

Implementation

factory UpdateGenericOIDCProviderRequest({
  $core.String? id,
  $core.String? name,
  $core.String? issuer,
  $core.String? clientId,
  $core.String? clientSecret,
  $core.Iterable<$core.String>? scopes,
  $10.Options? providerOptions,
  $core.bool? isIdTokenMapping,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (name != null) {
    $result.name = name;
  }
  if (issuer != null) {
    $result.issuer = issuer;
  }
  if (clientId != null) {
    $result.clientId = clientId;
  }
  if (clientSecret != null) {
    $result.clientSecret = clientSecret;
  }
  if (scopes != null) {
    $result.scopes.addAll(scopes);
  }
  if (providerOptions != null) {
    $result.providerOptions = providerOptions;
  }
  if (isIdTokenMapping != null) {
    $result.isIdTokenMapping = isIdTokenMapping;
  }
  return $result;
}