From 0edda4402212caedfa276c2b5ebf52108afbcf67 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Mon, 23 Sep 2024 21:03:12 +0000 Subject: [PATCH] update set token method docs --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68f2ca3..126ff84 100644 --- a/README.md +++ b/README.md @@ -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("") ```