Navigation
API (.NET) SDK changelog
The server-side SDK for .NET, published as Rupt.Api on NuGet.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.2.0] - 2026-09-10
Added
EvaluateAsync, withEvaluateRequestandContentInput.Evaluation.ContentandEvaluation.Review.
[1.1.0] - 2026-09-09
Added
SuspendUserAsyncandUnsuspendUserAsync. Suspending sets the flag theis_suspendedpolicy condition reads, the same one thesuspendverdict sets, so pair it with a policy that denies on that condition. Both return the user and throw aRuptApiExceptionwith status 404 when the user doesn't exist in your secret's environment.AddToListAsyncandRemoveFromListAsyncto manage the lists your policies match on from your backend. Pass the list id from its dashboard URL and one to 500 values.AddToListRequesttakes an optionalCommentandTtlSeconds. Both return counts (AddToListResult,RemoveFromListResult).User.Suspended, so every user embedded in an evaluation or challenge tells you whether the account is suspended.
[1.0.1] - 2026-07-27
Upgrade from 1.0.0 if you read evaluations at all. Breaking type changes in a patch release, which isn't how we like to do it, and we're sorry for the odd bump. The old properties described a response the API had already stopped sending, and one of them broke deserialization outright. We checked with every customer on the SDK before shipping and none of them read Category or RiskSummary.
Fixed
GetEvaluationAsyncandConsumeEvaluationAsyncthrew aJsonExceptionon any evaluation that had risks.EvaluationRisk.Categorywas a required property and the API stopped sendingcategory.
Changed
EvaluationRisknow hasId,Definition, andNamein place ofCategory, matching the API. Branch onDefinition, the id of the risk definition the risk was raised against.Nameis a display label and can be renamed in the dashboard.
Removed
Evaluation.RiskSummaryand theRiskSummaryEntryrecord. The API no longer returnsrisk_summary, and it repeatedrisksone for one.
[1.0.0] - 2026-07-15
Added
- Initial release, targeting the Rupt V3 API on .NET 10 with zero dependencies.
GetEvaluationAsyncandConsumeEvaluationAsyncto confirm evaluations server-side. Consuming is single-use: a replayed evaluation returns a 409.GetChallengeAsyncto retrieve a challenge and its status.GetUserDevicesAsyncto list a user's devices.UpdateUserAsyncfor partial updates to email, phone, metadata, and groups.- Automatic retries with exponential backoff on network errors and 5xx responses, plus typed exceptions:
RuptApiException,RuptNetworkException, andRuptTimeoutException. CancellationTokensupport on every method and an optional injectedHttpClientforIHttpClientFactorysetups.- Configurable
Domain,Timeout,Retries, andMaxRetryDelay.