Trợ giúp về API MediaWiki
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=webauthn
(main | webauthn)
- Mô đun này cần quyền đọc.
- Source: OATHAuth
- License: GPL-2.0-or-later AND GPL-3.0-or-later
Mô-đun API để giao tiếp giữa máy chủ và máy khách trong quá trình đăng ký/xác thực.
Các tham số:
Other general parameters are available.
- func
Tên của hàm được yêu cầu thực thi.
- getAuthInfo
- Thông tin xác thực.
- getRegisterInfo
- Thông tin đăng ký.
- register
- Register a new WebAuthn credential for the current user.
- This parameter is required.
- Một trong các giá trị: 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.