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

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

# Interface: PkceTokenSet

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

Tokens returned by [exchangePkceAuthorizationCode](../functions/exchangePkceAuthorizationCode.md).

## Extends

- [`AccessTokenResponse`](AccessTokenResponse.md)

## Properties

### accessToken

> **accessToken**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/types.ts:173](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/types.ts#L173)

#### Inherited from

[`AccessTokenResponse`](AccessTokenResponse.md).[`accessToken`](AccessTokenResponse.md#accesstoken)

***

### expires

> **expires**: `Date`

Defined in: [packages/b2c-tooling-sdk/src/auth/types.ts:174](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/types.ts#L174)

#### Inherited from

[`AccessTokenResponse`](AccessTokenResponse.md).[`expires`](AccessTokenResponse.md#expires)

***

### refreshToken?

> `optional` **refreshToken**: `string`

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

Refresh token, when the client is registered for one. Secret.

***

### scopes

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

Defined in: [packages/b2c-tooling-sdk/src/auth/types.ts:175](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/types.ts#L175)

#### Inherited from

[`AccessTokenResponse`](AccessTokenResponse.md).[`scopes`](AccessTokenResponse.md#scopes)
