UpdateIDPOIDCConfigRequest constructor

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

Implementation

factory UpdateIDPOIDCConfigRequest({
  $core.String? idpId,
  $core.String? issuer,
  $core.String? clientId,
  $core.String? clientSecret,
  $core.Iterable<$core.String>? scopes,
  $11.OIDCMappingField? displayNameMapping,
  $11.OIDCMappingField? usernameMapping,
}) {
  final _result = create();
  if (idpId != null) {
    _result.idpId = idpId;
  }
  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 (displayNameMapping != null) {
    _result.displayNameMapping = displayNameMapping;
  }
  if (usernameMapping != null) {
    _result.usernameMapping = usernameMapping;
  }
  return _result;
}