update set token method docs

This commit is contained in:
Maidul Islam
2024-09-23 21:03:12 +00:00
parent 6d1947d654
commit 0edda44022

View File

@@ -57,7 +57,9 @@ await client.auth().universalAuth.login({
- `clientSecret` (string): The client secret of your Machine Identity.
#### Plain Access Token
#### Manually set access token
By default, when you run a successful `.login()` method call, the access token returned will be auto set for the client instance. However, if you wish to set the access token manually, you may use this method.
```typescript
client.auth().accessToken("<your-access-token>")
```