MediaWiki API help

This is an auto-generated MediaWiki Action API documentation page.

action=webauthn

(main | webauthn)

API-modul för att kommunicera mellan server och klient under registrerings-/autentiseringsprocessen.

Specifika parametrar:
Other general parameters are available.
func

Namnet på den efterfrågade funktion som ska verkställas.

getAuthInfo
Authentication information.
getRegisterInfo
Registration information.
register
Register a new WebAuthn credential for the current user.
Den här parametern är obligatorisk.
Ett av följande värden: getAuthInfo, getRegisterInfo, register
passkeyMode

Whether the key being registered is in passkey mode. (Only for getRegisterInfo.)

Type: boolean (details)
credential

JSON-encoded WebAuthn credential response from the browser.

friendlyname

Friendly name for the new credential.