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

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

# Interface: PkceAuthorizeRequest

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

An authorization request built by [buildPkceAuthorizeRequest](../functions/buildPkceAuthorizeRequest.md).

## Properties

### codeVerifier

> **codeVerifier**: `string`

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

PKCE code verifier. Secret: keep it in memory and pass it to [exchangePkceAuthorizationCode](../functions/exchangePkceAuthorizationCode.md).

***

### redirectUri

> **redirectUri**: `string`

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

Redirect URI sent with the request; the token exchange must use the same value.

***

### state

> **state**: `string`

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

Opaque `state` value the redirect must echo back.

***

### url

> **url**: `string`

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

Account Manager authorize URL to open.
