MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=passwordlesslogin-verify-challenge

(main | passwordlesslogin-verify-challenge)
  • This module requires read rights.
  • Source: Passwordless Login
  • License: MIT

Verify a login request send to a device.

Parameters:
challenge

The challenge that was send to the device and which is being to be solved.

This parameter is required.
response

The response (solution) to the challenge. The solution needs to be:
 1. An HMAC with SHA512 as a signature algorithm
 2. The pre-shared secret as a symmetric key material
 3. The MAC data is the challenge as a byte array
 4. The response needs to be a hexadecimal string
 5. The response needs to be lowercase

This parameter is required.