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

# ~~Interface: ApiOATHValidation~~

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

The `oathvalidate` object of an `action=oathvalidate` response.

## Deprecated

since MediaWiki 1.46; OATHAuth removed the `action=oathvalidate`
module in its 1.46 (WebAuthn) rewrite.

## Properties

### ~~enabled?~~

> `optional` **enabled?**: `boolean`

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

Whether the target user has 2FA enabled (only then is a token verifiable).

***

### ~~valid?~~

> `optional` **valid?**: `boolean`

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

Whether the supplied TOTP or recovery code verified successfully.
