From 70957da29655756b6a541c292fe9cb5bd79d9deb Mon Sep 17 00:00:00 2001 From: Benny Neugebauer Date: Fri, 6 Sep 2024 16:55:36 +0200 Subject: [PATCH 1/2] Fix typo --- src/Auth0Client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth0Client.ts b/src/Auth0Client.ts index b338a7372..c7c00729c 100644 --- a/src/Auth0Client.ts +++ b/src/Auth0Client.ts @@ -550,7 +550,7 @@ export class Auth0Client { * with `getTokenSilently` is that this doesn't return a token, but it will * pre-fill the token cache. * - * This method also heeds the `auth0.{clientId}.is.authenticated` cookie, as an optimization + * This method also needs the `auth0.{clientId}.is.authenticated` cookie, as an optimization * to prevent calling Auth0 unnecessarily. If the cookie is not present because * there was no previous login (or it has expired) then tokens will not be refreshed. * From 0d1bdf5b6773f0008f3b539e27761f0332e927ed Mon Sep 17 00:00:00 2001 From: Benny Neugebauer Date: Fri, 6 Sep 2024 16:59:47 +0200 Subject: [PATCH 2/2] Fix typo --- docs/classes/Auth0Client.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/classes/Auth0Client.html b/docs/classes/Auth0Client.html index 717a5b800..95151868f 100644 --- a/docs/classes/Auth0Client.html +++ b/docs/classes/Auth0Client.html @@ -15,7 +15,7 @@

Check if the user is logged in using getTokenSilently. The difference with getTokenSilently is that this doesn't return a token, but it will pre-fill the token cache.

-

This method also heeds the auth0.{clientId}.is.authenticated cookie, as an optimization +

This method also needs the auth0.{clientId}.is.authenticated cookie, as an optimization to prevent calling Auth0 unnecessarily. If the cookie is not present because there was no previous login (or it has expired) then tokens will not be refreshed.

It should be used for silently logging in the user when you instantiate the @@ -70,4 +70,4 @@ the parameters provided as arguments, to clear the Auth0 session.

If the federated option is specified it also clears the Identity Provider session. Read more about how Logout works at Auth0.

-

Parameters

Returns Promise<void>

\ No newline at end of file +

Parameters

Returns Promise<void>