Skip to content

Commit

Permalink
docs: fix calculatePKCECodeChallenge description
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Sep 22, 2024
1 parent d2b7cb0 commit ac014f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/functions/calculatePKCECodeChallenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Support from the community to continue maintaining and improving this module is

**calculatePKCECodeChallenge**(`codeVerifier`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`string`\>

Calculates the PKCE `code_verifier` value to send with an authorization request using the S256
Calculates the PKCE `code_challenge` value to send with an authorization request using the S256
PKCE Code Challenge Method transformation.

## Parameters
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ export function generateRandomNonce(): string {
}

/**
* Calculates the PKCE `code_verifier` value to send with an authorization request using the S256
* Calculates the PKCE `code_challenge` value to send with an authorization request using the S256
* PKCE Code Challenge Method transformation.
*
* @param codeVerifier `code_verifier` value generated e.g. from {@link generateRandomCodeVerifier}.
Expand Down

0 comments on commit ac014f2

Please sign in to comment.