Skip to main content

device_challenge_handler

Function device_challenge_handler 

Source
pub async fn device_challenge_handler(
    __arg0: State<Arc<OAuthState>>,
    __arg1: Json<ChallengeRequest>,
) -> Response
Expand description

POST /api/device/challenge

Returns HMAC(challenge_key, pubkey) for the client to sign. Stateless — no server storage.