# CreateAuthHooksReturn

Defined in: [react/src/hooks/createAuthHooks.ts:31](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/hooks/createAuthHooks.ts#L31)

## Properties

### useAgentState

> **useAgentState**: () => [`AgentState`](https://ic-reactor.b3pay.net/v3/libs/interfaces/agentstate/)

Defined in: [react/src/hooks/createAuthHooks.ts:32](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/hooks/createAuthHooks.ts#L32)

#### Returns

[`AgentState`](https://ic-reactor.b3pay.net/v3/libs/interfaces/agentstate/)

***

### useUserPrincipal

> **useUserPrincipal**: () => `Principal` \| `null`

Defined in: [react/src/hooks/createAuthHooks.ts:33](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/hooks/createAuthHooks.ts#L33)

#### Returns

`Principal` \| `null`

***

### useAuth

> **useAuth**: () => [`UseAuthReturn`](https://ic-reactor.b3pay.net/v3/libs/interfaces/useauthreturn/)

Defined in: [react/src/hooks/createAuthHooks.ts:34](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/hooks/createAuthHooks.ts#L34)

#### Returns

[`UseAuthReturn`](https://ic-reactor.b3pay.net/v3/libs/interfaces/useauthreturn/)