# AuthenticationClientOptions

Defined in: [react/src/auth/types.ts:97](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L97)

## Extended by

- [`AuthenticationManagerParameters`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationmanagerparameters/)
- [`AuthenticationSignInOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationsigninoptions/)
- [`RequestIdentityAttributesParameters`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/)

## Properties

### identityProvider?

> `optional` **identityProvider?**: `string` \| `URL`

Defined in: [react/src/auth/types.ts:99](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L99)

Identity provider URL.

#### Default

```ts
"https://id.ai/authorize"
```

***

### windowOpenerFeatures?

> `optional` **windowOpenerFeatures?**: `string`

Defined in: [react/src/auth/types.ts:101](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L101)

`window.open` features string for the identity provider popup.

***

### openIdProvider?

> `optional` **openIdProvider?**: [`IdentityAttributeOpenIdProvider`](https://ic-reactor.b3pay.net/v3/libs/type-aliases/identityattributeopenidprovider/)

Defined in: [react/src/auth/types.ts:110](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L110)

Provider for one-click sign-in.

Only the `"google" | "apple" | "microsoft"` aliases reach the auth client.
Any other value is dropped here and has **no effect** — raw issuer URLs are
only meaningful on `requestOpenId`, where they scope the requested keys.

#### See

[IdentityAttributeOpenIdProvider](https://ic-reactor.b3pay.net/v3/libs/type-aliases/identityattributeopenidprovider/)

***

### derivationOrigin?

> `optional` **derivationOrigin?**: `string` \| `URL`

Defined in: [react/src/auth/types.ts:119](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L119)

Derivation origin for the identity provider.

Required when the app is served from more than one origin (e.g. a custom
domain plus `<canisterId>.icp0.io`) and every origin must resolve to the
same principal.

#### See

https://github.com/dfinity/internet-identity/blob/main/docs/internet-identity-spec.adoc

***

### storage?

> `optional` **storage?**: [`AuthClientStorageLike`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authclientstoragelike/)

Defined in: [react/src/auth/types.ts:124](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L124)

Persistent storage backend. `@icp-sdk/auth` v8 only: v10 drops it with a
one-time warning.

#### Default

```ts
IndexedDB
```

***

### keyType?

> `optional` **keyType?**: [`AuthClientKeyType`](https://ic-reactor.b3pay.net/v3/libs/type-aliases/authclientkeytype/)

Defined in: [react/src/auth/types.ts:130](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L130)

Session key algorithm. Use `"Ed25519"` when the storage backend cannot
hold a `CryptoKey`. `@icp-sdk/auth` v8 only: v10 drops it with a one-time
warning.

#### Default

```ts
"ECDSA"
```

***

### idleOptions?

> `optional` **idleOptions?**: [`AuthClientIdleOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authclientidleoptions/)

Defined in: [react/src/auth/types.ts:140](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L140)

Idle timeout configuration. Pass `{ disableIdle: true }` to opt out of the
default behaviour, which signs the user out and reloads after 10 minutes.

`@icp-sdk/auth` v8 only. v10 has no equivalent, so IC Reactor drops it
there with a one-time warning: on v10 the identity provider enforces the
idle limit, so pass `maxTimeToIdle` to `login()` and set
`disableBrowserActivity` instead.

***

### identity?

> `optional` **identity?**: `SignIdentity` \| `PartialIdentity`

Defined in: [react/src/auth/types.ts:145](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L145)

An existing identity to authenticate via delegation. `@icp-sdk/auth` v8
only: v10 drops it with a one-time warning.

***

### transport?

> `optional` **transport?**: `"window"` \| `"redirect"`

Defined in: [react/src/auth/types.ts:151](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L151)

How the client talks to the identity provider. `"redirect"` requires
`@icp-sdk/auth` v8 or later and is ignored by older versions.

#### Default

```ts
"window"
```

***

### disableBrowserActivity?

> `optional` **disableBrowserActivity?**: `boolean`

Defined in: [react/src/auth/types.ts:160](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L160)

Stops a v10 client from watching the page for signs of activity, so only
requests keep the session in use.

`@icp-sdk/auth` v10 only. v8 has no equivalent, so IC Reactor drops it
there with a one-time warning. On v8, `idleOptions` controls idle handling.

#### Default

```ts
false
```