> 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: ApiQueryAuthManagerInfo

Defined in: [core/query/authmanagerinfo.ts:87](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/authmanagerinfo.ts#L87)

The `authmanagerinfo` object returned under `query`.

## Properties

### canauthenticatenow

> **canauthenticatenow**: `boolean`

Defined in: [core/query/authmanagerinfo.ts:89](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/authmanagerinfo.ts#L89)

Whether the current session can authenticate right now.

***

### cancreateaccounts

> **cancreateaccounts**: `boolean`

Defined in: [core/query/authmanagerinfo.ts:92](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/authmanagerinfo.ts#L92)

Whether account creation is available.

***

### canlinkaccounts

> **canlinkaccounts**: `boolean`

Defined in: [core/query/authmanagerinfo.ts:95](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/authmanagerinfo.ts#L95)

Whether account linking (CentralAuth) is available.

***

### fields?

> `optional` **fields?**: `Record`\<`string`, [`ApiQueryAuthManagerField`](https://types-mediawiki-response.pages.dev/api/core/ApiQueryAuthManagerField.md)>

Defined in: [core/query/authmanagerinfo.ts:117](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/authmanagerinfo.ts#L117)

Field descriptors merged across all [requests](#requests), present only when the
request passed `amimergerequestfields=1` — the per-request `fields` are
omitted in that mode.

***

### haspreservedstate?

> `optional` **haspreservedstate?**: `boolean`

Defined in: [core/query/authmanagerinfo.ts:104](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/authmanagerinfo.ts#L104)

Whether a preserved AuthManager state exists for the session.

***

### hasprimarypreservedstate?

> `optional` **hasprimarypreservedstate?**: `boolean`

Defined in: [core/query/authmanagerinfo.ts:107](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/authmanagerinfo.ts#L107)

Whether a preserved _primary_ AuthManager state exists.

***

### preservedusername?

> `optional` **preservedusername?**: `string`

Defined in: [core/query/authmanagerinfo.ts:110](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/authmanagerinfo.ts#L110)

Preserved username, or an empty string when none.

***

### requests?

> `optional` **requests?**: [`ApiQueryAuthManagerInfoRequest`](https://types-mediawiki-response.pages.dev/api/core/ApiQueryAuthManagerInfoRequest.md)\[]

Defined in: [core/query/authmanagerinfo.ts:120](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/authmanagerinfo.ts#L120)

Provider requests the flow needs, ordered.

***

### securitysensitiveoperationstatus?

> `optional` **securitysensitiveoperationstatus?**: `string`

Defined in: [core/query/authmanagerinfo.ts:101](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/authmanagerinfo.ts#L101)

Security-sensitive operation status, present only when
`amisecuritysensitiveoperation` names an action.
