From 844637b7642949d3878ed37c93c8fc5ebe74453f Mon Sep 17 00:00:00 2001 From: Brion Mario Date: Mon, 29 Jul 2024 10:36:08 +0530 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1be5de06..e12d47a3 100644 --- a/README.md +++ b/README.md @@ -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 - } - ``` + - `params` (Mandatory): Key-value pairs to be sent as additional parameters in the token request payload. + + + ```TypeScript + tokenRequestConfig: { + params: Record + } + ``` #### Returns A Promise that resolves with the [`TokenResponse`](#TokenResponse) object.