Skip to content

Commit a537873

Browse files
committed
fix typedoc
1 parent 8cddaf5 commit a537873

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/b2c-tooling/src/auth/api-key.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ import {getLogger} from '../logging/logger.js';
55
* API Key authentication strategy.
66
*
77
* Supports two modes:
8-
* - Bearer token: When headerName is 'Authorization', formats as 'Bearer <key>'
8+
* - Bearer token: When headerName is 'Authorization', formats as 'Bearer {key}'
99
* - Direct key: For other headers (e.g., 'x-api-key'), sets the key directly
1010
*
1111
* @example
1212
* // For MRT API (Bearer token)
1313
* const auth = new ApiKeyStrategy(apiKey, 'Authorization');
14-
* // Sets: Authorization: Bearer <apiKey>
14+
* // Sets: Authorization: Bearer {apiKey}
1515
*
1616
* @example
1717
* // For custom API key header
1818
* const auth = new ApiKeyStrategy(apiKey, 'x-api-key');
19-
* // Sets: x-api-key: <apiKey>
19+
* // Sets: x-api-key: {apiKey}
2020
*/
2121
export class ApiKeyStrategy implements AuthStrategy {
2222
private readonly headerValue: string;

0 commit comments

Comments
 (0)