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

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

Register a new device for a previously generated pair token.

Parameters:
pairToken

The previously generated pair token to identify to which user the device is to be registered.

This parameter is required.
deviceId

A unique device identifier which can be used to identify a device as well as sending notifications to it with the default messaging system of the device (e.g. Firebase Cloud Messaging for Android devices).

This parameter is required.
secret

A secret generated on the device that will be used to sign challenges send to the device. This secret is being used to verify a login request challenge response and needs to be kept secret.

This parameter is required.