Skip to content

Commit aa4e29a

Browse files
committed
Update client_id and client_secret parameter descriptions.
1 parent 623e791 commit aa4e29a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FusionAuthClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,8 +904,8 @@ export class FusionAuthClient {
904904
* If you will be using the Authorization Code grant, you will make a request to the Token endpoint to exchange the authorization code returned from the Authorize endpoint for an access token.
905905
*
906906
* @param {string} code The authorization code returned on the /oauth2/authorize response.
907-
* @param {string} client_id (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you you are attempting to authenticate. This parameter is optional when the Authorization header is provided.
908-
* @param {string} client_secret (Optional) The client secret. This value may optionally be provided in the request body instead of the Authorization header.
907+
* @param {string} client_id The unique client identifier. The client Id is the Id of the FusionAuth Application in which you you are attempting to authenticate.
908+
* @param {string} client_secret (Optional) The client secret. This value will be required if client authentication is enabled.
909909
* @param {string} redirect_uri The URI to redirect to upon a successful request.
910910
* @returns {Promise<ClientResponse<AccessToken>>}
911911
*/

0 commit comments

Comments
 (0)