From 55bba0a7ed8acca95fe2ee3484f26829c58e85f7 Mon Sep 17 00:00:00 2001 From: Pavindu Lakshan Date: Fri, 9 Aug 2024 12:16:02 +0530 Subject: [PATCH] Update API.md --- API.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/API.md b/API.md index c4b0103..f693fc2 100644 --- a/API.md +++ b/API.md @@ -507,9 +507,6 @@ This method returns the `ID token` in a form of a string. To get the decoded ID ```TypeScript getIDToken(): Promise ``` ->**Warning** ->The promise resolves successfully only if the storage type is set to [`sessionStorage`](#session-storage) or [`localStorage`](#local-storage). If it is set to [`webWorker`](#web-worker), an error is thrown. ->The reason is that the token is stored inside the web worker and cannot be accessed from outside. #### Returns A promise that resolves with the ID token as a string.