---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [instance](../index.md) / B2CInstanceOptions

# Interface: B2CInstanceOptions

Defined in: [packages/b2c-tooling-sdk/src/instance/index.ts:79](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/instance/index.ts#L79)

Optional runtime dependencies for a [B2CInstance](../classes/B2CInstance.md).

The OAuth strategy factory lets CLI commands reuse their session-aware auth
resolution (including PKCE refresh and the temporary implicit fallback)
without eagerly starting browser authentication for Basic-only WebDAV work.

## Properties

### oauthStrategy?

> `optional` **oauthStrategy**: [`AuthStrategy`](../../auth/interfaces/AuthStrategy.md) \| () => [`AuthStrategy`](../../auth/interfaces/AuthStrategy.md)

Defined in: [packages/b2c-tooling-sdk/src/instance/index.ts:80](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/instance/index.ts#L80)
