@supabase/gotrue-js 1.22.21 → 1.23.0-next.10
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/dist/main/GoTrueApi.d.ts +120 -60
- package/dist/main/GoTrueApi.d.ts.map +1 -1
- package/dist/main/GoTrueApi.js +153 -93
- package/dist/main/GoTrueApi.js.map +1 -1
- package/dist/main/GoTrueClient.d.ts +80 -73
- package/dist/main/GoTrueClient.d.ts.map +1 -1
- package/dist/main/GoTrueClient.js +263 -245
- package/dist/main/GoTrueClient.js.map +1 -1
- package/dist/main/index.js +5 -1
- package/dist/main/index.js.map +1 -1
- package/dist/main/lib/constants.d.ts +1 -1
- package/dist/main/lib/constants.d.ts.map +1 -1
- package/dist/main/lib/constants.js +2 -2
- package/dist/main/lib/constants.js.map +1 -1
- package/dist/main/lib/cookies.d.ts.map +1 -1
- package/dist/main/lib/cookies.js +2 -1
- package/dist/main/lib/cookies.js.map +1 -1
- package/dist/main/lib/errors.d.ts +41 -0
- package/dist/main/lib/errors.d.ts.map +1 -0
- package/dist/main/lib/errors.js +78 -0
- package/dist/main/lib/errors.js.map +1 -0
- package/dist/main/lib/fetch.d.ts +8 -5
- package/dist/main/lib/fetch.d.ts.map +1 -1
- package/dist/main/lib/fetch.js +25 -27
- package/dist/main/lib/fetch.js.map +1 -1
- package/dist/main/lib/helpers.d.ts +19 -2
- package/dist/main/lib/helpers.d.ts.map +1 -1
- package/dist/main/lib/helpers.js +32 -15
- package/dist/main/lib/helpers.js.map +1 -1
- package/dist/main/lib/types.d.ts +56 -6
- package/dist/main/lib/types.d.ts.map +1 -1
- package/dist/main/lib/version.d.ts +1 -1
- package/dist/main/lib/version.js +2 -2
- package/dist/main/lib/version.js.map +1 -1
- package/dist/module/GoTrueApi.d.ts +120 -60
- package/dist/module/GoTrueApi.d.ts.map +1 -1
- package/dist/module/GoTrueApi.js +153 -93
- package/dist/module/GoTrueApi.js.map +1 -1
- package/dist/module/GoTrueClient.d.ts +80 -73
- package/dist/module/GoTrueClient.d.ts.map +1 -1
- package/dist/module/GoTrueClient.js +265 -247
- package/dist/module/GoTrueClient.js.map +1 -1
- package/dist/module/lib/constants.d.ts +1 -1
- package/dist/module/lib/constants.d.ts.map +1 -1
- package/dist/module/lib/constants.js +1 -1
- package/dist/module/lib/constants.js.map +1 -1
- package/dist/module/lib/cookies.d.ts.map +1 -1
- package/dist/module/lib/cookies.js +2 -1
- package/dist/module/lib/cookies.js.map +1 -1
- package/dist/module/lib/errors.d.ts +41 -0
- package/dist/module/lib/errors.d.ts.map +1 -0
- package/dist/module/lib/errors.js +66 -0
- package/dist/module/lib/errors.js.map +1 -0
- package/dist/module/lib/fetch.d.ts +8 -5
- package/dist/module/lib/fetch.d.ts.map +1 -1
- package/dist/module/lib/fetch.js +25 -27
- package/dist/module/lib/fetch.js.map +1 -1
- package/dist/module/lib/helpers.d.ts +19 -2
- package/dist/module/lib/helpers.d.ts.map +1 -1
- package/dist/module/lib/helpers.js +24 -12
- package/dist/module/lib/helpers.js.map +1 -1
- package/dist/module/lib/types.d.ts +56 -6
- package/dist/module/lib/types.d.ts.map +1 -1
- package/dist/module/lib/version.d.ts +1 -1
- package/dist/module/lib/version.js +2 -2
- package/dist/module/lib/version.js.map +1 -1
- package/package.json +21 -19
- package/src/GoTrueApi.ts +347 -132
- package/src/GoTrueClient.ts +375 -302
- package/src/lib/constants.ts +1 -1
- package/src/lib/cookies.ts +6 -1
- package/src/lib/errors.ts +82 -0
- package/src/lib/fetch.ts +43 -28
- package/src/lib/helpers.ts +33 -12
- package/src/lib/types.ts +64 -6
- package/src/lib/version.ts +2 -2
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import GoTrueApi from './GoTrueApi';
|
|
2
|
+
import { Deferred } from './lib/helpers';
|
|
2
3
|
import { Fetch } from './lib/fetch';
|
|
3
|
-
import
|
|
4
|
+
import { AuthError } from './lib/errors';
|
|
5
|
+
import type { Session, User, UserAttributes, Subscription, AuthChangeEvent, CookieOptions, UserCredentials, VerifyOTPParams, SupportedStorage, SignInWithPasswordCredentials, SignInWithOAuthCredentials, SignInWithPasswordlessCredentials, AuthResponse, OAuthResponse } from './lib/types';
|
|
4
6
|
export default class GoTrueClient {
|
|
5
7
|
/**
|
|
6
8
|
* Namespace for the GoTrue API methods.
|
|
@@ -8,27 +10,32 @@ export default class GoTrueClient {
|
|
|
8
10
|
*/
|
|
9
11
|
api: GoTrueApi;
|
|
10
12
|
/**
|
|
11
|
-
* The
|
|
13
|
+
* The storage key used to identity the values saved in localStorage
|
|
12
14
|
*/
|
|
13
|
-
protected
|
|
15
|
+
protected storageKey: string;
|
|
14
16
|
/**
|
|
15
17
|
* The session object for the currently logged in user or null.
|
|
18
|
+
* Only used if persistSession is false.
|
|
16
19
|
*/
|
|
17
|
-
protected
|
|
20
|
+
protected inMemorySession: Session | null;
|
|
18
21
|
protected autoRefreshToken: boolean;
|
|
19
22
|
protected persistSession: boolean;
|
|
20
23
|
protected localStorage: SupportedStorage;
|
|
21
|
-
protected multiTab: boolean;
|
|
22
24
|
protected stateChangeEmitters: Map<string, Subscription>;
|
|
23
25
|
protected refreshTokenTimer?: ReturnType<typeof setTimeout>;
|
|
24
26
|
protected networkRetries: number;
|
|
27
|
+
protected refreshingDeferred: Deferred<{
|
|
28
|
+
session: Session;
|
|
29
|
+
error: null;
|
|
30
|
+
}> | null;
|
|
25
31
|
/**
|
|
26
32
|
* Create a new client for use in the browser.
|
|
27
33
|
* @param options.url The URL of the GoTrue server.
|
|
28
34
|
* @param options.headers Any additional headers to send to the GoTrue server.
|
|
35
|
+
* @param options.storageKey Optional key name used for storing tokens in local storage
|
|
29
36
|
* @param options.detectSessionInUrl Set to "true" if you want to automatically detects OAuth grants in the URL and signs in the user.
|
|
30
37
|
* @param options.autoRefreshToken Set to "true" if you want to automatically refresh the token before expiring.
|
|
31
|
-
* @param options.persistSession Set to "true" if you want to automatically save the user session into local storage.
|
|
38
|
+
* @param options.persistSession Set to "true" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory.
|
|
32
39
|
* @param options.localStorage Provide your own local storage implementation to use instead of the browser's local storage.
|
|
33
40
|
* @param options.multiTab Set to "false" if you want to disable multi-tab/window events.
|
|
34
41
|
* @param options.cookieOptions
|
|
@@ -39,6 +46,7 @@ export default class GoTrueClient {
|
|
|
39
46
|
headers?: {
|
|
40
47
|
[key: string]: string;
|
|
41
48
|
};
|
|
49
|
+
storageKey?: string;
|
|
42
50
|
detectSessionInUrl?: boolean;
|
|
43
51
|
autoRefreshToken?: boolean;
|
|
44
52
|
persistSession?: boolean;
|
|
@@ -60,38 +68,33 @@ export default class GoTrueClient {
|
|
|
60
68
|
redirectTo?: string;
|
|
61
69
|
data?: object;
|
|
62
70
|
captchaToken?: string;
|
|
63
|
-
}): Promise<
|
|
64
|
-
user: User | null;
|
|
65
|
-
session: Session | null;
|
|
66
|
-
error: ApiError | null;
|
|
67
|
-
}>;
|
|
71
|
+
}): Promise<AuthResponse>;
|
|
68
72
|
/**
|
|
69
73
|
* Log in an existing user, or login via a third-party provider.
|
|
70
|
-
* @type
|
|
74
|
+
* @type SignInWithPasswordCredentials
|
|
71
75
|
* @param email The user's email address.
|
|
72
76
|
* @param phone The user's phone number.
|
|
73
77
|
* @param password The user's password.
|
|
74
|
-
* @param
|
|
78
|
+
* @param options Valid options for password sign-ins.
|
|
79
|
+
*/
|
|
80
|
+
signInWithPassword(credentials: SignInWithPasswordCredentials): Promise<AuthResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Log in an existing user via a third-party provider.
|
|
83
|
+
* @type SignInWithOAuthCredentials
|
|
75
84
|
* @param provider One of the providers supported by GoTrue.
|
|
76
85
|
* @param redirectTo A URL to send the user to after they are confirmed (OAuth logins only).
|
|
77
|
-
* @param shouldCreateUser A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true.
|
|
78
86
|
* @param scopes A space-separated list of scopes granted to the OAuth application.
|
|
87
|
+
* @param queryParams An object of query params
|
|
79
88
|
*/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
session: Session | null;
|
|
90
|
-
user: User | null;
|
|
91
|
-
provider?: Provider;
|
|
92
|
-
url?: string | null;
|
|
93
|
-
error: ApiError | null;
|
|
94
|
-
}>;
|
|
89
|
+
signInWithOAuth(credentials: SignInWithOAuthCredentials): Promise<OAuthResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* Passwordless method for logging in an existing user.
|
|
92
|
+
* @type SignInWithPasswordlessCredentials
|
|
93
|
+
* @param email The user's email address.
|
|
94
|
+
* @param phone The user's phone number.
|
|
95
|
+
* @param options Valid options for passwordless sign-ins.
|
|
96
|
+
*/
|
|
97
|
+
signInWithOtp(credentials: SignInWithPasswordlessCredentials): Promise<AuthResponse>;
|
|
95
98
|
/**
|
|
96
99
|
* Log in a user given a User supplied OTP received via mobile.
|
|
97
100
|
* @param email The user's email address.
|
|
@@ -102,50 +105,57 @@ export default class GoTrueClient {
|
|
|
102
105
|
*/
|
|
103
106
|
verifyOTP(params: VerifyOTPParams, options?: {
|
|
104
107
|
redirectTo?: string;
|
|
105
|
-
}): Promise<
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
}): Promise<AuthResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* Returns the session data, refreshing it if necessary.
|
|
111
|
+
*/
|
|
112
|
+
getSession(): Promise<{
|
|
113
|
+
session: Session;
|
|
114
|
+
error: null;
|
|
115
|
+
} | {
|
|
116
|
+
session: null;
|
|
117
|
+
error: AuthError;
|
|
118
|
+
} | {
|
|
119
|
+
session: null;
|
|
120
|
+
error: null;
|
|
109
121
|
}>;
|
|
110
122
|
/**
|
|
111
|
-
*
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
*/
|
|
123
|
-
refreshSession(): Promise<{
|
|
124
|
-
data: Session | null;
|
|
125
|
-
user: User | null;
|
|
126
|
-
error: ApiError | null;
|
|
123
|
+
* Returns the user data, refreshing the session if necessary.
|
|
124
|
+
*/
|
|
125
|
+
getUser(): Promise<{
|
|
126
|
+
user: User;
|
|
127
|
+
error: null;
|
|
128
|
+
} | {
|
|
129
|
+
user: null;
|
|
130
|
+
error: AuthError;
|
|
131
|
+
} | {
|
|
132
|
+
user: null;
|
|
133
|
+
error: null;
|
|
127
134
|
}>;
|
|
128
135
|
/**
|
|
129
136
|
* Updates user data, if there is a logged in user.
|
|
130
137
|
*/
|
|
131
138
|
update(attributes: UserAttributes): Promise<{
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
139
|
+
user: User;
|
|
140
|
+
error: null;
|
|
141
|
+
} | {
|
|
142
|
+
user: null;
|
|
143
|
+
error: AuthError;
|
|
135
144
|
}>;
|
|
136
145
|
/**
|
|
137
146
|
* Sets the session data from refresh_token and returns current Session and Error
|
|
138
147
|
* @param refresh_token a JWT token
|
|
139
148
|
*/
|
|
140
149
|
setSession(refresh_token: string): Promise<{
|
|
141
|
-
session: Session
|
|
142
|
-
error:
|
|
150
|
+
session: Session;
|
|
151
|
+
error: null;
|
|
152
|
+
} | {
|
|
153
|
+
session: null;
|
|
154
|
+
error: null;
|
|
155
|
+
} | {
|
|
156
|
+
session: null;
|
|
157
|
+
error: AuthError;
|
|
143
158
|
}>;
|
|
144
|
-
/**
|
|
145
|
-
* Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests.
|
|
146
|
-
* @param access_token a jwt access token
|
|
147
|
-
*/
|
|
148
|
-
setAuth(access_token: string): Session;
|
|
149
159
|
/**
|
|
150
160
|
* Gets the session data from a URL string
|
|
151
161
|
* @param options.storeSession Optionally store the session in the browser
|
|
@@ -153,8 +163,11 @@ export default class GoTrueClient {
|
|
|
153
163
|
getSessionFromUrl(options?: {
|
|
154
164
|
storeSession?: boolean;
|
|
155
165
|
}): Promise<{
|
|
156
|
-
|
|
157
|
-
error:
|
|
166
|
+
session: Session;
|
|
167
|
+
error: null;
|
|
168
|
+
} | {
|
|
169
|
+
session: null;
|
|
170
|
+
error: AuthError;
|
|
158
171
|
}>;
|
|
159
172
|
/**
|
|
160
173
|
* Inside a browser context, `signOut()` will remove the logged in user from the browser session
|
|
@@ -163,25 +176,23 @@ export default class GoTrueClient {
|
|
|
163
176
|
* For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`. There is no way to revoke a user's session JWT before it automatically expires
|
|
164
177
|
*/
|
|
165
178
|
signOut(): Promise<{
|
|
166
|
-
error:
|
|
179
|
+
error: AuthError | null;
|
|
167
180
|
}>;
|
|
168
181
|
/**
|
|
169
182
|
* Receive a notification every time an auth event happens.
|
|
170
183
|
* @returns {Subscription} A subscription object which can be used to unsubscribe itself.
|
|
171
184
|
*/
|
|
172
185
|
onAuthStateChange(callback: (event: AuthChangeEvent, session: Session | null) => void): {
|
|
173
|
-
|
|
174
|
-
error:
|
|
186
|
+
subscription: Subscription;
|
|
187
|
+
error: null;
|
|
188
|
+
} | {
|
|
189
|
+
subscription: null;
|
|
190
|
+
error: AuthError;
|
|
175
191
|
};
|
|
176
192
|
private _handleEmailSignIn;
|
|
177
193
|
private _handlePhoneSignIn;
|
|
178
194
|
private _handleProviderSignIn;
|
|
179
195
|
private _handleOpenIDConnectSignIn;
|
|
180
|
-
/**
|
|
181
|
-
* Attempts to get the session from LocalStorage
|
|
182
|
-
* Note: this should never be async (even for React Native), as we need it to return immediately in the constructor.
|
|
183
|
-
*/
|
|
184
|
-
private _recoverSession;
|
|
185
196
|
/**
|
|
186
197
|
* Recovers the session from LocalStorage and refreshes
|
|
187
198
|
* Note: this method is async to accommodate for AsyncStorage e.g. in React native.
|
|
@@ -201,10 +212,6 @@ export default class GoTrueClient {
|
|
|
201
212
|
* @param value time intervals in milliseconds
|
|
202
213
|
*/
|
|
203
214
|
private _startAutoRefreshToken;
|
|
204
|
-
/**
|
|
205
|
-
* Listens for changes to LocalStorage and updates the current session.
|
|
206
|
-
*/
|
|
207
|
-
private _listenForMultiTabEvents;
|
|
208
215
|
private _handleVisibilityChange;
|
|
209
216
|
}
|
|
210
217
|
//# sourceMappingURL=GoTrueClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoTrueClient.d.ts","sourceRoot":"","sources":["../../src/GoTrueClient.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"GoTrueClient.d.ts","sourceRoot":"","sources":["../../src/GoTrueClient.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAA;AACnC,OAAO,EAOL,QAAQ,EACT,MAAM,eAAe,CAAA;AAStB,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnC,OAAO,EAEL,SAAS,EAKV,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EACV,OAAO,EACP,IAAI,EACJ,cAAc,EAEd,YAAY,EACZ,eAAe,EACf,aAAa,EACb,eAAe,EACf,eAAe,EAEf,gBAAgB,EAChB,6BAA6B,EAC7B,0BAA0B,EAC1B,iCAAiC,EACjC,YAAY,EACZ,aAAa,EACd,MAAM,aAAa,CAAA;AAcpB,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B;;;OAGG;IACH,GAAG,EAAE,SAAS,CAAA;IACd;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,CAAA;IAE5B;;;OAGG;IACH,SAAS,CAAC,eAAe,EAAE,OAAO,GAAG,IAAI,CAAA;IAEzC,SAAS,CAAC,gBAAgB,EAAE,OAAO,CAAA;IACnC,SAAS,CAAC,cAAc,EAAE,OAAO,CAAA;IACjC,SAAS,CAAC,YAAY,EAAE,gBAAgB,CAAA;IACxC,SAAS,CAAC,mBAAmB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