@depup/supabase__auth-js 2.102.1-depup.0 → 2.110.8-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +11 -0
- package/README.md +2 -2
- package/changes.json +1 -1
- package/dist/main/GoTrueAdminApi.d.ts +45 -8
- package/dist/main/GoTrueAdminApi.d.ts.map +1 -1
- package/dist/main/GoTrueAdminApi.js +67 -7
- package/dist/main/GoTrueAdminApi.js.map +1 -1
- package/dist/main/GoTrueClient.d.ts +239 -42
- package/dist/main/GoTrueClient.d.ts.map +1 -1
- package/dist/main/GoTrueClient.js +946 -164
- package/dist/main/GoTrueClient.js.map +1 -1
- package/dist/main/lib/constants.d.ts +8 -0
- package/dist/main/lib/constants.d.ts.map +1 -1
- package/dist/main/lib/constants.js +9 -1
- package/dist/main/lib/constants.js.map +1 -1
- package/dist/main/lib/errors.d.ts +42 -3
- package/dist/main/lib/errors.d.ts.map +1 -1
- package/dist/main/lib/errors.js +44 -13
- package/dist/main/lib/errors.js.map +1 -1
- package/dist/main/lib/fetch.d.ts +28 -8
- package/dist/main/lib/fetch.d.ts.map +1 -1
- package/dist/main/lib/fetch.js +28 -6
- package/dist/main/lib/fetch.js.map +1 -1
- package/dist/main/lib/helpers.d.ts +4 -1
- package/dist/main/lib/helpers.d.ts.map +1 -1
- package/dist/main/lib/helpers.js +15 -4
- package/dist/main/lib/helpers.js.map +1 -1
- package/dist/main/lib/locks.d.ts +29 -35
- package/dist/main/lib/locks.d.ts.map +1 -1
- package/dist/main/lib/locks.js +37 -38
- package/dist/main/lib/locks.js.map +1 -1
- package/dist/main/lib/types.d.ts +305 -64
- package/dist/main/lib/types.d.ts.map +1 -1
- package/dist/main/lib/types.js.map +1 -1
- package/dist/main/lib/version.d.ts +1 -1
- package/dist/main/lib/version.js +1 -1
- package/dist/main/lib/webauthn.d.ts +8 -0
- package/dist/main/lib/webauthn.d.ts.map +1 -1
- package/dist/main/lib/webauthn.dom.d.ts +3 -3
- package/dist/main/lib/webauthn.dom.d.ts.map +1 -1
- package/dist/main/lib/webauthn.errors.d.ts +5 -0
- package/dist/main/lib/webauthn.errors.d.ts.map +1 -1
- package/dist/main/lib/webauthn.errors.js +7 -0
- package/dist/main/lib/webauthn.errors.js.map +1 -1
- package/dist/main/lib/webauthn.js +1 -0
- package/dist/main/lib/webauthn.js.map +1 -1
- package/dist/module/GoTrueAdminApi.d.ts +45 -8
- package/dist/module/GoTrueAdminApi.d.ts.map +1 -1
- package/dist/module/GoTrueAdminApi.js +68 -8
- package/dist/module/GoTrueAdminApi.js.map +1 -1
- package/dist/module/GoTrueClient.d.ts +239 -42
- package/dist/module/GoTrueClient.d.ts.map +1 -1
- package/dist/module/GoTrueClient.js +951 -169
- package/dist/module/GoTrueClient.js.map +1 -1
- package/dist/module/lib/constants.d.ts +8 -0
- package/dist/module/lib/constants.d.ts.map +1 -1
- package/dist/module/lib/constants.js +8 -0
- package/dist/module/lib/constants.js.map +1 -1
- package/dist/module/lib/errors.d.ts +42 -3
- package/dist/module/lib/errors.d.ts.map +1 -1
- package/dist/module/lib/errors.js +41 -12
- package/dist/module/lib/errors.js.map +1 -1
- package/dist/module/lib/fetch.d.ts +28 -8
- package/dist/module/lib/fetch.d.ts.map +1 -1
- package/dist/module/lib/fetch.js +28 -6
- package/dist/module/lib/fetch.js.map +1 -1
- package/dist/module/lib/helpers.d.ts +4 -1
- package/dist/module/lib/helpers.d.ts.map +1 -1
- package/dist/module/lib/helpers.js +14 -4
- package/dist/module/lib/helpers.js.map +1 -1
- package/dist/module/lib/locks.d.ts +29 -35
- package/dist/module/lib/locks.d.ts.map +1 -1
- package/dist/module/lib/locks.js +37 -38
- package/dist/module/lib/locks.js.map +1 -1
- package/dist/module/lib/types.d.ts +305 -64
- package/dist/module/lib/types.d.ts.map +1 -1
- package/dist/module/lib/types.js.map +1 -1
- package/dist/module/lib/version.d.ts +1 -1
- package/dist/module/lib/version.js +1 -1
- package/dist/module/lib/webauthn.d.ts +8 -0
- package/dist/module/lib/webauthn.d.ts.map +1 -1
- package/dist/module/lib/webauthn.dom.d.ts +3 -3
- package/dist/module/lib/webauthn.dom.d.ts.map +1 -1
- package/dist/module/lib/webauthn.errors.d.ts +5 -0
- package/dist/module/lib/webauthn.errors.d.ts.map +1 -1
- package/dist/module/lib/webauthn.errors.js +7 -0
- package/dist/module/lib/webauthn.errors.js.map +1 -1
- package/dist/module/lib/webauthn.js +1 -1
- package/dist/module/lib/webauthn.js.map +1 -1
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/migrations/README.md +25 -0
- package/migrations/lockless-coordination.md +155 -0
- package/package.json +25 -12
- package/src/GoTrueAdminApi.ts +99 -7
- package/src/GoTrueClient.ts +1117 -181
- package/src/lib/constants.ts +9 -0
- package/src/lib/errors.ts +76 -9
- package/src/lib/fetch.ts +66 -24
- package/src/lib/helpers.ts +19 -6
- package/src/lib/locks.ts +44 -42
- package/src/lib/types.ts +374 -82
- package/src/lib/version.ts +1 -1
- package/src/lib/webauthn.dom.ts +3 -3
- package/src/lib/webauthn.errors.ts +12 -0
- package/src/lib/webauthn.ts +1 -1
|
@@ -2,7 +2,7 @@ import GoTrueAdminApi from './GoTrueAdminApi';
|
|
|
2
2
|
import { AuthError } from './lib/errors';
|
|
3
3
|
import { Fetch } from './lib/fetch';
|
|
4
4
|
import { Deferred } from './lib/helpers';
|
|
5
|
-
import type { AuthChangeEvent, AuthFlowType, AuthOtpResponse, AuthResponse, AuthTokenResponse, AuthTokenResponsePassword, CallRefreshTokenResult, GoTrueClientOptions, GoTrueMFAApi, InitializeResult, JWK, JwtHeader, JwtPayload, LockFunc, OAuthResponse, AuthOAuthServerApi, ResendParams, Session, SignInAnonymouslyCredentials, SignInWithIdTokenCredentials, SignInWithOAuthCredentials, SignInWithPasswordCredentials, SignInWithPasswordlessCredentials, SignInWithSSO, SignOut, SignUpWithPasswordCredentials, SSOResponse, Subscription, SupportedStorage, User, UserAttributes, UserIdentity, UserResponse, VerifyOtpParams, Web3Credentials } from './lib/types';
|
|
5
|
+
import type { AuthChangeEvent, AuthFlowType, AuthOtpResponse, AuthResponse, AuthTokenResponse, AuthTokenResponsePassword, CallRefreshTokenResult, GoTrueClientOptions, GoTrueMFAApi, InitializeResult, JWK, JwtHeader, JwtPayload, LockFunc, OAuthResponse, AuthOAuthServerApi, ResendParams, Session, SignInAnonymouslyCredentials, SignInWithIdTokenCredentials, SignInWithOAuthCredentials, SignInWithPasswordCredentials, SignInWithPasswordlessCredentials, SignInWithSSO, SignOut, SignUpWithPasswordCredentials, SSOResponse, Subscription, SupportedStorage, User, UserAttributes, UserIdentity, UserResponse, VerifyOtpParams, Web3Credentials, AuthPasskeyApi, ExperimentalFeatureFlags, SignInWithPasskeyCredentials, RegisterPasskeyCredentials, AuthPasskeyRegistrationVerifyResponse, AuthPasskeyAuthenticationVerifyResponse } from './lib/types';
|
|
6
6
|
export default class GoTrueClient {
|
|
7
7
|
private static nextInstanceID;
|
|
8
8
|
private instanceID;
|
|
@@ -21,6 +21,13 @@ export default class GoTrueClient {
|
|
|
21
21
|
* Used to implement the authorization code flow on the consent page.
|
|
22
22
|
*/
|
|
23
23
|
oauth: AuthOAuthServerApi;
|
|
24
|
+
/**
|
|
25
|
+
* Namespace for passkey methods.
|
|
26
|
+
* Includes lower-level two-step registration/authentication and passkey management.
|
|
27
|
+
*
|
|
28
|
+
* Requires `auth.experimental.passkey: true`; otherwise all methods throw.
|
|
29
|
+
*/
|
|
30
|
+
passkey: AuthPasskeyApi;
|
|
24
31
|
/**
|
|
25
32
|
* The storage key used to identify the values saved in localStorage
|
|
26
33
|
*/
|
|
@@ -52,6 +59,33 @@ export default class GoTrueClient {
|
|
|
52
59
|
protected autoRefreshTickTimeout: ReturnType<typeof setTimeout> | null;
|
|
53
60
|
protected visibilityChangedCallback: (() => Promise<any>) | null;
|
|
54
61
|
protected refreshingDeferred: Deferred<CallRefreshTokenResult> | null;
|
|
62
|
+
/**
|
|
63
|
+
* Cache of the most recent refresh failure, keyed by the refresh token
|
|
64
|
+
* that failed. Serial callers passing the *same* token within
|
|
65
|
+
* `REFRESH_FAILURE_COOLDOWN_MS` (including subsequent auto-refresh ticks)
|
|
66
|
+
* receive this cached result instead of firing another `/token` request.
|
|
67
|
+
* Callers passing a *different* token (token rotation pickup, explicit
|
|
68
|
+
* `setSession`/`refreshSession({ refresh_token })`, multi-account switch)
|
|
69
|
+
* bypass the cache and attempt a fresh refresh as they should.
|
|
70
|
+
* Cleared on any successful refresh (locally or via BroadcastChannel from
|
|
71
|
+
* another tab) and on `_removeSession`.
|
|
72
|
+
*
|
|
73
|
+
* Pairs with `refreshingDeferred`: concurrent callers share the in-flight
|
|
74
|
+
* promise, serial callers within the cooldown share the failure result.
|
|
75
|
+
*/
|
|
76
|
+
protected lastRefreshFailure: {
|
|
77
|
+
refreshToken: string;
|
|
78
|
+
result: CallRefreshTokenResult;
|
|
79
|
+
expiresAt: number;
|
|
80
|
+
} | null;
|
|
81
|
+
/**
|
|
82
|
+
* Monotonic counter incremented at the top of `_removeSession`, before any
|
|
83
|
+
* `await`. The commit guard inside `_callRefreshToken` captures this value
|
|
84
|
+
* before `_saveSession` and re-checks it after, so a `signOut` that
|
|
85
|
+
* interleaves inside `_saveSession`'s storage-write awaits is still caught
|
|
86
|
+
* (the post-fetch storage snapshot alone misses that window).
|
|
87
|
+
*/
|
|
88
|
+
protected _sessionRemovalEpoch: number;
|
|
55
89
|
/**
|
|
56
90
|
* Keeps track of the async client initialization.
|
|
57
91
|
* When null or not yet resolved the auth state is `unknown`
|
|
@@ -59,6 +93,19 @@ export default class GoTrueClient {
|
|
|
59
93
|
* Keep extra care to never reject or throw uncaught errors
|
|
60
94
|
*/
|
|
61
95
|
protected initializePromise: Promise<InitializeResult> | null;
|
|
96
|
+
/**
|
|
97
|
+
* Non-null only while `initialize()` is running. While open,
|
|
98
|
+
* `_notifyAllSubscribers` enqueues init-chain notifications (those fired with
|
|
99
|
+
* `broadcast = true`, i.e. from `_recoverAndRefresh`) into this array instead
|
|
100
|
+
* of firing directly, so that `initializePromise` is guaranteed to be
|
|
101
|
+
* resolved before any subscriber callback runs. Callbacks that call
|
|
102
|
+
* `getSession()` / `getUser()` etc. would otherwise deadlock because those
|
|
103
|
+
* methods await `initializePromise`. Notifications from the incoming
|
|
104
|
+
* BroadcastChannel handler (`broadcast = false`) are not enqueued — they fire
|
|
105
|
+
* immediately. Flushed (in order) by `initialize()` after `initializePromise`
|
|
106
|
+
* settles.
|
|
107
|
+
*/
|
|
108
|
+
private _pendingInitNotifications;
|
|
62
109
|
protected detectSessionInUrl: boolean | ((url: URL, params: {
|
|
63
110
|
[parameter: string]: string;
|
|
64
111
|
}) => boolean);
|
|
@@ -69,11 +116,25 @@ export default class GoTrueClient {
|
|
|
69
116
|
protected hasCustomAuthorizationHeader: boolean;
|
|
70
117
|
protected suppressGetSessionWarning: boolean;
|
|
71
118
|
protected fetch: Fetch;
|
|
72
|
-
|
|
119
|
+
/**
|
|
120
|
+
* Custom lock function passed via `settings.lock`. When non-null, every auth
|
|
121
|
+
* operation runs inside `_acquireLock`. When null (the default), the client
|
|
122
|
+
* uses its lockless coordination (refresh single-flight + commit guard).
|
|
123
|
+
* TODO(v3): remove along with the legacy lock path.
|
|
124
|
+
*/
|
|
125
|
+
protected lock: LockFunc | null;
|
|
73
126
|
protected lockAcquired: boolean;
|
|
74
127
|
protected pendingInLock: Promise<any>[];
|
|
75
128
|
protected throwOnError: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Only consulted when a custom `lock` is supplied. TODO(v3): remove.
|
|
131
|
+
*/
|
|
76
132
|
protected lockAcquireTimeout: number;
|
|
133
|
+
/**
|
|
134
|
+
* Opt-in flags for experimental features. Defaults to an empty object.
|
|
135
|
+
* See `GoTrueClientOptions.experimental`.
|
|
136
|
+
*/
|
|
137
|
+
protected experimental: ExperimentalFeatureFlags;
|
|
77
138
|
/**
|
|
78
139
|
* Used to broadcast state change events to other tabs listening.
|
|
79
140
|
*/
|
|
@@ -83,13 +144,21 @@ export default class GoTrueClient {
|
|
|
83
144
|
/**
|
|
84
145
|
* Create a new client for use in the browser.
|
|
85
146
|
*
|
|
86
|
-
* @example
|
|
147
|
+
* @example Using supabase-js (recommended)
|
|
148
|
+
* ```ts
|
|
149
|
+
* import { createClient } from '@supabase/supabase-js'
|
|
150
|
+
*
|
|
151
|
+
* const supabase = createClient('https://xyzcompany.supabase.co', 'your-publishable-key')
|
|
152
|
+
* const { data, error } = await supabase.auth.getUser()
|
|
153
|
+
* ```
|
|
154
|
+
*
|
|
155
|
+
* @example Standalone import for bundle-sensitive environments
|
|
87
156
|
* ```ts
|
|
88
157
|
* import { GoTrueClient } from '@supabase/auth-js'
|
|
89
158
|
*
|
|
90
159
|
* const auth = new GoTrueClient({
|
|
91
160
|
* url: 'https://xyzcompany.supabase.co/auth/v1',
|
|
92
|
-
* headers: { apikey: '
|
|
161
|
+
* headers: { apikey: 'your-publishable-key' },
|
|
93
162
|
* storageKey: 'supabase-auth',
|
|
94
163
|
* })
|
|
95
164
|
* ```
|
|
@@ -108,9 +177,20 @@ export default class GoTrueClient {
|
|
|
108
177
|
private _logPrefix;
|
|
109
178
|
private _debug;
|
|
110
179
|
/**
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
180
|
+
* Initialize the auth client by loading the session from storage or
|
|
181
|
+
* detecting it from the URL after an OAuth, magic-link, or password-recovery
|
|
182
|
+
* redirect.
|
|
183
|
+
*
|
|
184
|
+
* **Most callers do not need to invoke this directly.** The client calls it
|
|
185
|
+
* automatically during construction, and to react to sign-in events (including
|
|
186
|
+
* post-redirect events) you should subscribe to `onAuthStateChange` rather
|
|
187
|
+
* than awaiting `initialize()`.
|
|
188
|
+
*
|
|
189
|
+
* You only need to call it manually when you have opted out of the automatic
|
|
190
|
+
* call by passing `skipAutoInitialize: true` — for example, in an SSR context
|
|
191
|
+
* where you need to control initialization timing. In that case, awaiting
|
|
192
|
+
* `initialize()` returns the resolved session result (or any error encountered
|
|
193
|
+
* while detecting it from the URL).
|
|
114
194
|
*
|
|
115
195
|
* @category Auth
|
|
116
196
|
*/
|
|
@@ -490,6 +570,21 @@ export default class GoTrueClient {
|
|
|
490
570
|
* password: 'some-password',
|
|
491
571
|
* })
|
|
492
572
|
* ```
|
|
573
|
+
*
|
|
574
|
+
* @exampleDescription Handling errors
|
|
575
|
+
* Log the full `error` object so fields like `code`, `status`, and `name` aren't hidden. The `error.code` (e.g. `'invalid_credentials'`, `'email_not_confirmed'`) is often more useful for branching than `error.message`, and the full object surfaces both.
|
|
576
|
+
*
|
|
577
|
+
* @example Handling errors
|
|
578
|
+
* ```js
|
|
579
|
+
* const { data, error } = await supabase.auth.signInWithPassword({
|
|
580
|
+
* email: 'example@email.com',
|
|
581
|
+
* password: 'example-password',
|
|
582
|
+
* })
|
|
583
|
+
* if (error) {
|
|
584
|
+
* console.error(error)
|
|
585
|
+
* return
|
|
586
|
+
* }
|
|
587
|
+
* ```
|
|
493
588
|
*/
|
|
494
589
|
signInWithPassword(credentials: SignInWithPasswordCredentials): Promise<AuthTokenResponsePassword>;
|
|
495
590
|
/**
|
|
@@ -1285,7 +1380,7 @@ export default class GoTrueClient {
|
|
|
1285
1380
|
* to the client. If that storage is based on request cookies for example,
|
|
1286
1381
|
* the values in it may not be authentic and therefore it's strongly advised
|
|
1287
1382
|
* against using this method and its results in such circumstances. A warning
|
|
1288
|
-
* will be emitted if this is detected. Use {@link
|
|
1383
|
+
* will be emitted if this is detected. Use {@link GoTrueClient.getUser} instead.
|
|
1289
1384
|
*
|
|
1290
1385
|
* @category Auth
|
|
1291
1386
|
*
|
|
@@ -1296,7 +1391,7 @@ export default class GoTrueClient {
|
|
|
1296
1391
|
* - If the session's access token is expired or is about to expire, this method will use the refresh token to refresh the session.
|
|
1297
1392
|
* - When using in a browser, or you've called `startAutoRefresh()` in your environment (React Native, etc.) this function always returns a valid access token without refreshing the session itself, as this is done in the background. This function returns very fast.
|
|
1298
1393
|
* - **IMPORTANT SECURITY NOTICE:** If using an insecure storage medium, such as cookies or request headers, the user object returned by this function **must not be trusted**. Always verify the JWT using `getClaims()` or your own JWT verification library to securely establish the user's identity and access. You can also use `getUser()` to fetch the user object directly from the Auth server for this purpose.
|
|
1299
|
-
* -
|
|
1394
|
+
* - Cross-tab refresh races are handled by the GoTrue server (the rotated token from the first tab is returned to subsequent tabs via the parent-of-active mechanism), so no client-side serialization is needed.
|
|
1300
1395
|
*
|
|
1301
1396
|
* @example Get the session data
|
|
1302
1397
|
* ```js
|
|
@@ -1379,19 +1474,22 @@ export default class GoTrueClient {
|
|
|
1379
1474
|
}>;
|
|
1380
1475
|
/**
|
|
1381
1476
|
* Acquires a global lock based on the storage key.
|
|
1477
|
+
*
|
|
1478
|
+
* TODO(v3): remove along with the legacy lock path. Only called when
|
|
1479
|
+
* `this.lock` is non-null (custom lock supplied via constructor). The
|
|
1480
|
+
* default lockless path bypasses this entirely.
|
|
1382
1481
|
*/
|
|
1383
1482
|
private _acquireLock;
|
|
1384
1483
|
/**
|
|
1385
|
-
* Use instead of {@link
|
|
1386
|
-
*
|
|
1387
|
-
*
|
|
1388
|
-
* session at once across multiple tabs or processes.
|
|
1484
|
+
* Use instead of {@link GoTrueClient.getSession} inside the library. Loads the session
|
|
1485
|
+
* via `__loadSession` (which may trigger a refresh if the access token is
|
|
1486
|
+
* within the expiry margin) and runs `fn` with the result.
|
|
1389
1487
|
*/
|
|
1390
1488
|
private _useSession;
|
|
1391
1489
|
/**
|
|
1392
1490
|
* NEVER USE DIRECTLY!
|
|
1393
1491
|
*
|
|
1394
|
-
* Always use
|
|
1492
|
+
* Always use `_useSession`.
|
|
1395
1493
|
*/
|
|
1396
1494
|
private __loadSession;
|
|
1397
1495
|
/**
|
|
@@ -1879,24 +1977,35 @@ export default class GoTrueClient {
|
|
|
1879
1977
|
*
|
|
1880
1978
|
* If using `others` scope, no `SIGNED_OUT` event is fired!
|
|
1881
1979
|
*
|
|
1980
|
+
* **Warning:** the default `scope` is `'global'`. This signs the user out of
|
|
1981
|
+
* **every device they are currently signed in on**, not just the current
|
|
1982
|
+
* tab/session. If you only want to sign the user out of the current session
|
|
1983
|
+
* (the behavior most other auth libraries default to), pass
|
|
1984
|
+
* `{ scope: 'local' }` explicitly.
|
|
1985
|
+
*
|
|
1882
1986
|
* @category Auth
|
|
1883
1987
|
*
|
|
1884
1988
|
* @remarks
|
|
1885
1989
|
* - In order to use the `signOut()` method, the user needs to be signed in first.
|
|
1886
|
-
* - By default, `signOut()` uses the global scope, which signs out
|
|
1990
|
+
* - By default, `signOut()` uses the **global** scope, which signs out the user
|
|
1991
|
+
* on every device they are signed in on (not just the current one). Pass
|
|
1992
|
+
* `{ scope: 'local' }` to only sign out the current session. This is
|
|
1993
|
+
* usually what apps want on a "Sign out" button, especially when users
|
|
1994
|
+
* sign in from multiple devices and do not expect signing out of one to
|
|
1995
|
+
* terminate the others.
|
|
1887
1996
|
* - Since Supabase Auth uses JWTs for authentication, the access token JWT will be valid until it's expired. When the user signs out, Supabase revokes the refresh token and deletes the JWT from the client-side. This does not revoke the JWT and it will still be valid until it expires.
|
|
1888
1997
|
*
|
|
1889
|
-
* @example Sign out (
|
|
1998
|
+
* @example Sign out of every device (global – default)
|
|
1890
1999
|
* ```js
|
|
1891
2000
|
* const { error } = await supabase.auth.signOut()
|
|
1892
2001
|
* ```
|
|
1893
2002
|
*
|
|
1894
|
-
* @example Sign out
|
|
2003
|
+
* @example Sign out only the current session (recommended for most apps)
|
|
1895
2004
|
* ```js
|
|
1896
2005
|
* const { error } = await supabase.auth.signOut({ scope: 'local' })
|
|
1897
2006
|
* ```
|
|
1898
2007
|
*
|
|
1899
|
-
* @example Sign out
|
|
2008
|
+
* @example Sign out of all other sessions, keep the current one
|
|
1900
2009
|
* ```js
|
|
1901
2010
|
* const { error } = await supabase.auth.signOut({ scope: 'others' })
|
|
1902
2011
|
* ```
|
|
@@ -1919,16 +2028,19 @@ export default class GoTrueClient {
|
|
|
1919
2028
|
};
|
|
1920
2029
|
};
|
|
1921
2030
|
/**
|
|
1922
|
-
*
|
|
1923
|
-
*
|
|
1924
|
-
*
|
|
1925
|
-
*
|
|
1926
|
-
*
|
|
1927
|
-
*
|
|
1928
|
-
*
|
|
2031
|
+
* Receive a notification every time an auth event happens. Common reentry
|
|
2032
|
+
* patterns (`getUser`, `setSession`, reading the session from inside a
|
|
2033
|
+
* handler) complete normally. One hazard remains: calling `refreshSession`
|
|
2034
|
+
* (or anything that routes through `_callRefreshToken`) from inside a
|
|
2035
|
+
* `TOKEN_REFRESHED` handler. `refreshingDeferred` resolves only after
|
|
2036
|
+
* `_notifyAllSubscribers` returns, so the inner refresh dedupes onto the
|
|
2037
|
+
* outer's unresolved promise and the two wait on each other.
|
|
1929
2038
|
*
|
|
1930
2039
|
* @param callback A callback function to be invoked when an auth event happens.
|
|
1931
|
-
*
|
|
2040
|
+
*
|
|
2041
|
+
* @deprecated Async callbacks can deadlock when they trigger a nested
|
|
2042
|
+
* refresh from a `TOKEN_REFRESHED` event. Prefer the sync overload, or move
|
|
2043
|
+
* refresh-triggering work outside the callback.
|
|
1932
2044
|
*/
|
|
1933
2045
|
onAuthStateChange(callback: (event: AuthChangeEvent, session: Session | null) => Promise<void>): {
|
|
1934
2046
|
data: {
|
|
@@ -2128,17 +2240,17 @@ export default class GoTrueClient {
|
|
|
2128
2240
|
/**
|
|
2129
2241
|
* Removes any registered visibilitychange callback.
|
|
2130
2242
|
*
|
|
2131
|
-
* {@
|
|
2132
|
-
* {@
|
|
2243
|
+
* {@link GoTrueClient.startAutoRefresh}
|
|
2244
|
+
* {@link GoTrueClient.stopAutoRefresh}
|
|
2133
2245
|
*/
|
|
2134
2246
|
private _removeVisibilityChangedCallback;
|
|
2135
2247
|
/**
|
|
2136
|
-
* This is the private implementation of {@link
|
|
2248
|
+
* This is the private implementation of {@link GoTrueClient.startAutoRefresh}. Use this
|
|
2137
2249
|
* within the library.
|
|
2138
2250
|
*/
|
|
2139
2251
|
private _startAutoRefresh;
|
|
2140
2252
|
/**
|
|
2141
|
-
* This is the private implementation of {@link
|
|
2253
|
+
* This is the private implementation of {@link GoTrueClient.stopAutoRefresh}. Use this
|
|
2142
2254
|
* within the library.
|
|
2143
2255
|
*/
|
|
2144
2256
|
private _stopAutoRefresh;
|
|
@@ -2162,7 +2274,7 @@ export default class GoTrueClient {
|
|
|
2162
2274
|
* platform's foreground indication mechanism and call these methods
|
|
2163
2275
|
* appropriately to conserve resources.
|
|
2164
2276
|
*
|
|
2165
|
-
* {@
|
|
2277
|
+
* {@link GoTrueClient.stopAutoRefresh}
|
|
2166
2278
|
*
|
|
2167
2279
|
* @category Auth
|
|
2168
2280
|
*
|
|
@@ -2193,7 +2305,7 @@ export default class GoTrueClient {
|
|
|
2193
2305
|
* If you call this method any managed visibility change callback will be
|
|
2194
2306
|
* removed and you must manage visibility changes on your own.
|
|
2195
2307
|
*
|
|
2196
|
-
* See {@link
|
|
2308
|
+
* See {@link GoTrueClient.startAutoRefresh} for more details.
|
|
2197
2309
|
*
|
|
2198
2310
|
* @category Auth
|
|
2199
2311
|
*
|
|
@@ -2218,6 +2330,37 @@ export default class GoTrueClient {
|
|
|
2218
2330
|
* ```
|
|
2219
2331
|
*/
|
|
2220
2332
|
stopAutoRefresh(): Promise<void>;
|
|
2333
|
+
/**
|
|
2334
|
+
* Tears down the client's background work: stops the auto-refresh interval,
|
|
2335
|
+
* removes the `visibilitychange` listener, closes the cross-tab
|
|
2336
|
+
* `BroadcastChannel`, and clears registered `onAuthStateChange` subscribers.
|
|
2337
|
+
*
|
|
2338
|
+
* Call this from cleanup hooks when the client is being replaced before
|
|
2339
|
+
* its JS realm is destroyed. React Strict Mode and HMR are the common
|
|
2340
|
+
* cases. Any in-flight `fetch` calls continue to completion and may still
|
|
2341
|
+
* write to storage; dispose doesn't abort them or erase storage.
|
|
2342
|
+
*
|
|
2343
|
+
* Lifecycle caveat: because in-flight refreshes are not aborted, a
|
|
2344
|
+
* disposed instance can still persist a rotated session to storage after
|
|
2345
|
+
* `dispose()` returns. A subsequent `createClient` against the same
|
|
2346
|
+
* `storageKey` will pick up that session on its next read. If you need
|
|
2347
|
+
* strict isolation between client lifecycles, await any pending auth
|
|
2348
|
+
* operation before calling `dispose()` (or change the `storageKey` for
|
|
2349
|
+
* the replacement client).
|
|
2350
|
+
*
|
|
2351
|
+
* Safe to call repeatedly.
|
|
2352
|
+
*
|
|
2353
|
+
* @category Auth
|
|
2354
|
+
*
|
|
2355
|
+
* @example Cleanup on React unmount
|
|
2356
|
+
* ```ts
|
|
2357
|
+
* useEffect(() => {
|
|
2358
|
+
* const client = createClient(...)
|
|
2359
|
+
* return () => { client.auth.dispose() }
|
|
2360
|
+
* }, [])
|
|
2361
|
+
* ```
|
|
2362
|
+
*/
|
|
2363
|
+
dispose(): Promise<void>;
|
|
2221
2364
|
/**
|
|
2222
2365
|
* Runs the auto refresh token tick.
|
|
2223
2366
|
*/
|
|
@@ -2241,27 +2384,27 @@ export default class GoTrueClient {
|
|
|
2241
2384
|
private _getUrlForProvider;
|
|
2242
2385
|
private _unenroll;
|
|
2243
2386
|
/**
|
|
2244
|
-
* {@
|
|
2387
|
+
* {@link GoTrueMFAApi#enroll}
|
|
2245
2388
|
*/
|
|
2246
2389
|
private _enroll;
|
|
2247
2390
|
/**
|
|
2248
|
-
* {@
|
|
2391
|
+
* {@link GoTrueMFAApi#verify}
|
|
2249
2392
|
*/
|
|
2250
2393
|
private _verify;
|
|
2251
2394
|
/**
|
|
2252
|
-
* {@
|
|
2395
|
+
* {@link GoTrueMFAApi#challenge}
|
|
2253
2396
|
*/
|
|
2254
2397
|
private _challenge;
|
|
2255
2398
|
/**
|
|
2256
|
-
* {@
|
|
2399
|
+
* {@link GoTrueMFAApi#challengeAndVerify}
|
|
2257
2400
|
*/
|
|
2258
2401
|
private _challengeAndVerify;
|
|
2259
2402
|
/**
|
|
2260
|
-
* {@
|
|
2403
|
+
* {@link GoTrueMFAApi#listFactors}
|
|
2261
2404
|
*/
|
|
2262
2405
|
private _listFactors;
|
|
2263
2406
|
/**
|
|
2264
|
-
* {@
|
|
2407
|
+
* {@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}
|
|
2265
2408
|
*/
|
|
2266
2409
|
private _getAuthenticatorAssuranceLevel;
|
|
2267
2410
|
/**
|
|
@@ -2298,15 +2441,15 @@ export default class GoTrueClient {
|
|
|
2298
2441
|
* Extracts the JWT claims present in the access token by first verifying the
|
|
2299
2442
|
* JWT against the server's JSON Web Key Set endpoint
|
|
2300
2443
|
* `/.well-known/jwks.json` which is often cached, resulting in significantly
|
|
2301
|
-
* faster responses. Prefer this method over {@link
|
|
2444
|
+
* faster responses. Prefer this method over {@link GoTrueClient.getUser} which always
|
|
2302
2445
|
* sends a request to the Auth server for each JWT.
|
|
2303
2446
|
*
|
|
2304
2447
|
* If the project is not using an asymmetric JWT signing key (like ECC or
|
|
2305
|
-
* RSA) it always sends a request to the Auth server (similar to
|
|
2306
|
-
*
|
|
2448
|
+
* RSA) it always sends a request to the Auth server (similar to
|
|
2449
|
+
* {@link GoTrueClient.getUser}) to verify the JWT.
|
|
2307
2450
|
*
|
|
2308
2451
|
* @param jwt An optional specific JWT you wish to verify, not the one you
|
|
2309
|
-
* can obtain from {@link
|
|
2452
|
+
* can obtain from {@link GoTrueClient.getSession}.
|
|
2310
2453
|
* @param options Various additional options that allow you to customize the
|
|
2311
2454
|
* behavior of this method.
|
|
2312
2455
|
*
|
|
@@ -2384,5 +2527,59 @@ export default class GoTrueClient {
|
|
|
2384
2527
|
data: null;
|
|
2385
2528
|
error: null;
|
|
2386
2529
|
}>;
|
|
2530
|
+
/**
|
|
2531
|
+
* Sign in with a passkey. Handles the full WebAuthn ceremony:
|
|
2532
|
+
* 1. Fetches authentication challenge from server
|
|
2533
|
+
* 2. Prompts user via navigator.credentials.get()
|
|
2534
|
+
* 3. Verifies credential with server and creates session
|
|
2535
|
+
*
|
|
2536
|
+
* Requires `auth.experimental.passkey: true`.
|
|
2537
|
+
*
|
|
2538
|
+
* @category Auth
|
|
2539
|
+
*/
|
|
2540
|
+
signInWithPasskey(credentials?: SignInWithPasskeyCredentials): Promise<AuthPasskeyAuthenticationVerifyResponse>;
|
|
2541
|
+
/**
|
|
2542
|
+
* Register a passkey for the current authenticated user. Handles the full WebAuthn ceremony:
|
|
2543
|
+
* 1. Fetches registration challenge from server
|
|
2544
|
+
* 2. Prompts user via navigator.credentials.create()
|
|
2545
|
+
* 3. Verifies credential with server
|
|
2546
|
+
*
|
|
2547
|
+
* Requires an active session. Requires `auth.experimental.passkey: true`.
|
|
2548
|
+
*
|
|
2549
|
+
* @category Auth
|
|
2550
|
+
*/
|
|
2551
|
+
registerPasskey(credentials?: RegisterPasskeyCredentials): Promise<AuthPasskeyRegistrationVerifyResponse>;
|
|
2552
|
+
/**
|
|
2553
|
+
* Start passkey registration for the current authenticated user.
|
|
2554
|
+
* Returns WebAuthn credential creation options to pass to navigator.credentials.create().
|
|
2555
|
+
*/
|
|
2556
|
+
private _startPasskeyRegistration;
|
|
2557
|
+
/**
|
|
2558
|
+
* Verify passkey registration with the credential response.
|
|
2559
|
+
* The credentialResponse should be the serialized output of navigator.credentials.create().
|
|
2560
|
+
*/
|
|
2561
|
+
private _verifyPasskeyRegistration;
|
|
2562
|
+
/**
|
|
2563
|
+
* Start passkey authentication.
|
|
2564
|
+
* Returns WebAuthn credential request options to pass to navigator.credentials.get().
|
|
2565
|
+
*/
|
|
2566
|
+
private _startPasskeyAuthentication;
|
|
2567
|
+
/**
|
|
2568
|
+
* Verify passkey authentication and create a session.
|
|
2569
|
+
* The credential should be the serialized output of navigator.credentials.get().
|
|
2570
|
+
*/
|
|
2571
|
+
private _verifyPasskeyAuthentication;
|
|
2572
|
+
/**
|
|
2573
|
+
* List all passkeys for the current user.
|
|
2574
|
+
*/
|
|
2575
|
+
private _listPasskeys;
|
|
2576
|
+
/**
|
|
2577
|
+
* Update a passkey.
|
|
2578
|
+
*/
|
|
2579
|
+
private _updatePasskey;
|
|
2580
|
+
/**
|
|
2581
|
+
* Delete a passkey.
|
|
2582
|
+
*/
|
|
2583
|
+
private _deletePasskey;
|
|
2387
2584
|
}
|
|
2388
2585
|
//# sourceMappingURL=GoTrueClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoTrueClient.d.ts","sourceRoot":"","sources":["../../src/GoTrueClient.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAA;AAU7C,OAAO,EACL,SAAS,EAcV,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,KAAK,EAMN,MAAM,aAAa,CAAA;AACpB,OAAO,EAGL,QAAQ,EAgBT,MAAM,eAAe,CAAA;AAOtB,OAAO,KAAK,EACV,eAAe,EAEf,YAAY,EAcZ,eAAe,EACf,YAAY,EAEZ,iBAAiB,EACjB,yBAAyB,EACzB,sBAAsB,EAItB,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,GAAG,EACH,SAAS,EACT,UAAU,EACV,QAAQ,EAgBR,aAAa,EACb,kBAAkB,EAOlB,YAAY,EACZ,OAAO,EACP,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC1B,6BAA6B,EAC7B,iCAAiC,EACjC,aAAa,EACb,OAAO,EACP,6BAA6B,EAG7B,WAAW,EAEX,YAAY,EACZ,gBAAgB,EAChB,IAAI,EACJ,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,eAAe,EAChB,MAAM,aAAa,CAAA;AAwDpB,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,OAAO,CAAC,MAAM,CAAC,cAAc,CAA6B;IAE1D,OAAO,CAAC,UAAU,CAAQ;IAE1B;;;OAGG;IACH,KAAK,EAAE,cAAc,CAAA;IACrB;;OAEG;IACH,GAAG,EAAE,YAAY,CAAA;IACjB;;;;OAIG;IACH,KAAK,EAAE,kBAAkB,CAAA;IACzB;;OAEG;IACH,SAAS,CAAC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