> For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/zh/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/zh/llms-full.txt.

# Interface: ApiWebAuthnResult

Defined in: [extensions/oathauth.ts:71](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/oathauth.ts#L71)

The `webauthn` object of an `action=webauthn` response, keyed by the `func`
parameter: `getauthinfo` → [ApiWebAuthnResult.auth_info](#auth_info),
`getregisterinfo` → [ApiWebAuthnResult.register_info](#register_info), `register` →
[ApiWebAuthnResult.success](#success).

## Properties

### auth_info?

> `optional` **auth_info?**: `string`

Defined in: [extensions/oathauth.ts:73](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/oathauth.ts#L73)

WebAuthn authentication challenge as a JSON string (`func=getauthinfo`).

***

### register_info?

> `optional` **register_info?**: `string`

Defined in: [extensions/oathauth.ts:76](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/oathauth.ts#L76)

WebAuthn registration challenge as a JSON string (`func=getregisterinfo`).

***

### success?

> `optional` **success?**: `true`

Defined in: [extensions/oathauth.ts:79](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/oathauth.ts#L79)

The credential was registered (`func=register`). A [Flag](https://types-mediawiki-response.pages.dev/zh/api/core/Flag.md).
