Skip to main content

claim_keys_handler

Function claim_keys_handler 

Source
async fn claim_keys_handler(
    state: State<ServerState>,
    __arg1: AuthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, UserKeysError>
Expand description

Handler for POST /_matrix/client/v3/keys/claim (See https://spec.matrix.org/latest/client-server-api/#post_matrixclientv3keysclaim).

Endpoint that allows users to claim one-time keys.