UpdateOrgIDPOIDCConfigRequest constructor

UpdateOrgIDPOIDCConfigRequest({
  1. String? idpId,
  2. String? clientId,
  3. String? clientSecret,
  4. String? issuer,
  5. Iterable<String>? scopes,
  6. OIDCMappingField? displayNameMapping,
  7. OIDCMappingField? usernameMapping,
})

Implementation

factory UpdateOrgIDPOIDCConfigRequest({
  $core.String? idpId,
  $core.String? clientId,
  $core.String? clientSecret,
  $core.String? issuer,
  $core.Iterable<$core.String>? scopes,
  $10.OIDCMappingField? displayNameMapping,
  $10.OIDCMappingField? usernameMapping,
}) {
  final $result = create();
  if (idpId != null) {
    $result.idpId = idpId;
  }
  if (clientId != null) {
    $result.clientId = clientId;
  }
  if (clientSecret != null) {
    $result.clientSecret = clientSecret;
  }
  if (issuer != null) {
    $result.issuer = issuer;
  }
  if (scopes != null) {
    $result.scopes.addAll(scopes);
  }
  if (displayNameMapping != null) {
    $result.displayNameMapping = displayNameMapping;
  }
  if (usernameMapping != null) {
    $result.usernameMapping = usernameMapping;
  }
  return $result;
}