@@ -155,14 +155,13 @@ export interface AuthProviderConfigFilter {
155
155
}
156
156
157
157
// @public
158
- export class BaseAuth {
158
+ export abstract class BaseAuth {
159
159
createCustomToken(uid : string , developerClaims ? : object ): Promise <string >;
160
160
createProviderConfig(config : AuthProviderConfig ): Promise <AuthProviderConfig >;
161
161
createSessionCookie(idToken : string , sessionCookieOptions : SessionCookieOptions ): Promise <string >;
162
162
createUser(properties : CreateRequest ): Promise <UserRecord >;
163
163
deleteProviderConfig(providerId : string ): Promise <void >;
164
164
deleteUser(uid : string ): Promise <void >;
165
- // (undocumented)
166
165
deleteUsers(uids : string []): Promise <DeleteUsersResult >;
167
166
generateEmailVerificationLink(email : string , actionCodeSettings ? : ActionCodeSettings ): Promise <string >;
168
167
generatePasswordResetLink(email : string , actionCodeSettings ? : ActionCodeSettings ): Promise <string >;
@@ -205,7 +204,6 @@ export type CreateTenantRequest = UpdateTenantRequest;
205
204
206
205
// @public
207
206
export interface DecodedIdToken {
208
- // (undocumented)
209
207
[key : string ]: any ;
210
208
aud: string ;
211
209
auth_time: number ;
@@ -250,7 +248,7 @@ export interface EmailSignInProviderConfig {
250
248
passwordRequired? : boolean ;
251
249
}
252
250
253
- // @public (undocumented)
251
+ // @public
254
252
export function getAuth(app ? : App ): Auth ;
255
253
256
254
// @public
@@ -280,7 +278,7 @@ export interface ListUsersResult {
280
278
users: UserRecord [];
281
279
}
282
280
283
- // @public (undocumented)
281
+ // @public
284
282
export interface MultiFactorConfig {
285
283
factorIds? : AuthFactorType [];
286
284
state: MultiFactorConfigState ;
@@ -296,20 +294,15 @@ export interface MultiFactorCreateSettings {
296
294
297
295
// @public
298
296
export abstract class MultiFactorInfo {
299
- // (undocumented)
300
297
readonly displayName? : string ;
301
- // (undocumented)
302
298
readonly enrollmentTime? : string ;
303
- // (undocumented)
304
299
readonly factorId: string ;
305
- toJSON(): any ;
306
- // (undocumented)
300
+ toJSON(): object ;
307
301
readonly uid: string ;
308
302
}
309
303
310
304
// @public
311
305
export class MultiFactorSettings {
312
- // (undocumented)
313
306
enrolledFactors: MultiFactorInfo [];
314
307
toJSON(): any ;
315
308
}
@@ -341,9 +334,8 @@ export interface PhoneIdentifier {
341
334
342
335
// @public
343
336
export class PhoneMultiFactorInfo extends MultiFactorInfo {
344
- // (undocumented)
345
337
readonly phoneNumber: string ;
346
- toJSON(): any ;
338
+ toJSON(): object ;
347
339
}
348
340
349
341
// @public
@@ -381,15 +373,10 @@ export interface SessionCookieOptions {
381
373
382
374
// @public
383
375
export class Tenant {
384
- // (undocumented)
385
376
readonly displayName? : string ;
386
- // (undocumented)
387
377
get emailSignInConfig(): EmailSignInProviderConfig | undefined ;
388
- // (undocumented)
389
378
get multiFactorConfig(): MultiFactorConfig | undefined ;
390
- // (undocumented)
391
379
readonly tenantId: string ;
392
- // (undocumented)
393
380
readonly testPhoneNumbers? : {
394
381
[phoneNumber : string ]: string ;
395
382
};
@@ -399,7 +386,6 @@ export class Tenant {
399
386
// @public
400
387
export class TenantAwareAuth extends BaseAuth {
401
388
createSessionCookie(idToken : string , sessionCookieOptions : SessionCookieOptions ): Promise <string >;
402
- // (undocumented)
403
389
readonly tenantId: string ;
404
390
verifyIdToken(idToken : string , checkRevoked ? : boolean ): Promise <DecodedIdToken >;
405
391
verifySessionCookie(sessionCookie : string , checkRevoked ? : boolean ): Promise <DecodedIdToken >;
@@ -505,27 +491,19 @@ export interface UserImportResult {
505
491
506
492
// @public
507
493
export class UserInfo {
508
- // (undocumented)
509
494
readonly displayName: string ;
510
- // (undocumented)
511
495
readonly email: string ;
512
- // (undocumented)
513
496
readonly phoneNumber: string ;
514
- // (undocumented)
515
497
readonly photoURL: string ;
516
- // (undocumented)
517
498
readonly providerId: string ;
518
499
toJSON(): object ;
519
- // (undocumented)
520
500
readonly uid: string ;
521
501
}
522
502
523
503
// @public
524
504
export class UserMetadata {
525
- // (undocumented)
526
505
readonly creationTime: string ;
527
506
readonly lastRefreshTime: string | null ;
528
- // (undocumented)
529
507
readonly lastSignInTime: string ;
530
508
toJSON(): object ;
531
509
}
@@ -548,38 +526,23 @@ export interface UserProviderRequest {
548
526
549
527
// @public
550
528
export class UserRecord {
551
- // (undocumented)
552
- readonly customClaims: {
529
+ readonly customClaims? : {
553
530
[key : string ]: any ;
554
531
};
555
- // (undocumented)
556
532
readonly disabled: boolean ;
557
- // (undocumented)
558
- readonly displayName: string ;
559
- // (undocumented)
560
- readonly email: string ;
561
- // (undocumented)
533
+ readonly displayName? : string ;
534
+ readonly email? : string ;
562
535
readonly emailVerified: boolean ;
563
- // (undocumented)
564
536
readonly metadata: UserMetadata ;
565
- // (undocumented)
566
537
readonly multiFactor? : MultiFactorSettings ;
567
- // (undocumented)
568
538
readonly passwordHash? : string ;
569
- // (undocumented)
570
539
readonly passwordSalt? : string ;
571
- // (undocumented)
572
- readonly phoneNumber: string ;
573
- // (undocumented)
574
- readonly photoURL: string ;
575
- // (undocumented)
540
+ readonly phoneNumber? : string ;
541
+ readonly photoURL? : string ;
576
542
readonly providerData: UserInfo [];
577
- // (undocumented)
578
543
readonly tenantId? : string | null ;
579
544
toJSON(): object ;
580
- // (undocumented)
581
545
readonly tokensValidAfterTime? : string ;
582
- // (undocumented)
583
546
readonly uid: string ;
584
547
}
585
548
0 commit comments