Skip to main content

Module device_enrollment

Module device_enrollment 

Source
Expand description

Anonymous device identity enrollment — POST /api/device/challenge and /api/device/enroll.

Unauthenticated endpoints. A client proves Ed25519 key possession without an existing user session. Device-user association happens later, implicitly, when the __Secure-VaultDevice cookie accompanies an OAuth token request.

Rate limiting on these endpoints is mandatory before production use (RATE-1).

Structs§

ChallengeRequest
ChallengeResponse
EnrollRequest
EnrollResponse

Functions§

device_challenge_handler
POST /api/device/challenge
device_enroll_handler
POST /api/device/enroll