We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb5ec14 + 4b32d04 commit 3418bc6Copy full SHA for 3418bc6
README.md
@@ -281,6 +281,14 @@ All you have to do is provide an API token when instantiating the ApiVideoClient
281
const client = new ApiVideoClient({ apiKey: "YOUR_API_TOKEN" });
282
```
283
284
+### Get the access token
285
+
286
+If you need to access the access-token value obtained using the API key, you can use the getAccessToken() method of the client:
287
+```js
288
+const client = new ApiVideoClient({ apiKey: "YOUR_API_TOKEN" });
289
+const accessToken = await client.getAccessToken();
290
+```
291
292
### Public endpoints
293
294
Some endpoints don't require authentication. These one can be called with an ApiVideoClient instantiated without API token:
0 commit comments