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, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/api/extensions/oathauth/ApiOATHValidation.md.
  • English
  • Interface: ApiOATHValidation

    Defined in: extensions/oathauth.ts:51

    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

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


    valid?

    optional valid?: boolean

    Defined in: extensions/oathauth.ts:56

    Whether the supplied TOTP or recovery code verified successfully.