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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [auth](../index.md) / PkceCodeExchangeOptions

# Interface: PkceCodeExchangeOptions

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts:276](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts#L276)

Options for [exchangePkceAuthorizationCode](../functions/exchangePkceAuthorizationCode.md).

## Extends

- [`HttpTransportOptions`](../../clients/interfaces/HttpTransportOptions.md)

## Properties

### accountManagerHost?

> `optional` **accountManagerHost**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts:281](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts#L281)

***

### clientId

> **clientId**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts:277](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts#L277)

***

### code

> **code**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts:279](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts#L279)

***

### codeVerifier

> **codeVerifier**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts:280](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts#L280)

***

### redirectUri

> **redirectUri**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts:278](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts#L278)

***

### scopes?

> `optional` **scopes**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts:283](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/oauth-pkce.ts#L283)

Scopes to report when the response doesn't list them.
