We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd6474f commit c14843bCopy full SHA for c14843b
1 file changed
README.md
@@ -337,10 +337,7 @@ Generate authentication parameters for secure client-side file uploads:
337
338
```ts
339
// Generate authentication parameters for client-side uploads
340
-const authParams = client.helper.getAuthenticationParameters({
341
- privateKey: process.env['IMAGEKIT_PRIVATE_KEY'], // This is the default and can be omitted
342
- password: process.env['OPTIONAL_IMAGEKIT_IGNORES_THIS'], // This is the default and can be omitted
343
-});
+const authParams = client.helper.getAuthenticationParameters();
344
console.log(authParams);
345
// Result: { token: 'uuid-token', expire: timestamp, signature: 'hmac-signature' }
346
0 commit comments