dotnet-cqrs/Svrnty.CQRS.Altcha.MinimalApi
Mathias Beaulieu-Duncan 891894d136 feat(altcha): add Svrnty.CQRS.Altcha.MinimalApi challenge endpoint
Single helper extension: MapSvrntyAltchaChallenge() exposes
GET /api/altcha/challenge (configurable prefix) that fetches a fresh
challenge from IAltchaChallengeProvider and projects it onto the
JSON shape the altcha widget v3 expects from its challengeurl —
{ algorithm, challenge, salt, signature, maxnumber } in lowercase.

AllowAnonymous on purpose: the whole point is gating mutations from
unauthenticated callers, so the challenge endpoint must be reachable
without credentials.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 16:26:41 -04:00
..
AltchaChallengeDto.cs feat(altcha): add Svrnty.CQRS.Altcha.MinimalApi challenge endpoint 2026-05-12 16:26:41 -04:00
EndpointRouteBuilderExtensions.cs feat(altcha): add Svrnty.CQRS.Altcha.MinimalApi challenge endpoint 2026-05-12 16:26:41 -04:00
Svrnty.CQRS.Altcha.MinimalApi.csproj feat(altcha): add Svrnty.CQRS.Altcha.MinimalApi challenge endpoint 2026-05-12 16:26:41 -04:00