# AuthState

Defined in: [types/client.ts:78](https://github.com/B3Pay/ic-reactor/blob/452866bcf5c5994de1f73416e6a3b2d18e4188fa/packages/core/src/types/client.ts#L78)

Represents the authentication state of an agent.

## Properties

### identity

> **identity**: `Identity` \| `null`

Defined in: [types/client.ts:79](https://github.com/B3Pay/ic-reactor/blob/452866bcf5c5994de1f73416e6a3b2d18e4188fa/packages/core/src/types/client.ts#L79)

***

### isAuthenticating

> **isAuthenticating**: `boolean`

Defined in: [types/client.ts:84](https://github.com/B3Pay/ic-reactor/blob/452866bcf5c5994de1f73416e6a3b2d18e4188fa/packages/core/src/types/client.ts#L84)

Indicates whether the authentication process is ongoing.

***

### isAuthenticated

> **isAuthenticated**: `boolean`

Defined in: [types/client.ts:89](https://github.com/B3Pay/ic-reactor/blob/452866bcf5c5994de1f73416e6a3b2d18e4188fa/packages/core/src/types/client.ts#L89)

Indicates whether the agent is authenticated.

***

### error

> **error**: `Error` \| `undefined`

Defined in: [types/client.ts:94](https://github.com/B3Pay/ic-reactor/blob/452866bcf5c5994de1f73416e6a3b2d18e4188fa/packages/core/src/types/client.ts#L94)

Represents any error that occurred during authentication.