Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brionmario committed Jul 29, 2024
1 parent d846015 commit 844637b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,13 +437,16 @@ requestAccessToken(authorizationCode: string, sessionState: string, state: strin

5. tokenRequestConfig: `object` (optional)

An optional object that can contain additional parameters to be sent in the token request payload. The object should have a `params` property, which is a record of key-value pairs where the key is a string and the value can be of any type.
An optional configuration object that allows you to augment the token request.

```typescript
tokenRequestConfig: {
params: Record<string, unknown>
}
```
- `params` (Mandatory): Key-value pairs to be sent as additional parameters in the token request payload.


```TypeScript
tokenRequestConfig: {
params: Record<string, unknown>
}
```
#### Returns

A Promise that resolves with the [`TokenResponse`](#TokenResponse) object.
Expand Down

0 comments on commit 844637b

Please sign in to comment.