@@ -18,7 +18,9 @@ declare const enum FIRActionCodeOperation {
1818
1919 VerifyEmail = 2 ,
2020
21- RecoverEmail = 3
21+ RecoverEmail = 3 ,
22+
23+ EmailLink = 4
2224}
2325
2426declare class FIRActionCodeSettings extends NSObject {
@@ -98,10 +100,16 @@ declare class FIRAuth extends NSObject {
98100
99101 confirmPasswordResetWithCodeNewPasswordCompletion ( code : string , newPassword : string , completion : ( p1 : NSError ) => void ) : void ;
100102
103+ createUserAndRetrieveDataWithEmailPasswordCompletion ( email : string , password : string , completion : ( p1 : FIRAuthDataResult , p2 : NSError ) => void ) : void ;
104+
101105 createUserWithEmailPasswordCompletion ( email : string , password : string , completion : ( p1 : FIRUser , p2 : NSError ) => void ) : void ;
102106
103107 fetchProvidersForEmailCompletion ( email : string , completion : ( p1 : NSArray < string > , p2 : NSError ) => void ) : void ;
104108
109+ fetchSignInMethodsForEmailCompletion ( email : string , completion : ( p1 : NSArray < string > , p2 : NSError ) => void ) : void ;
110+
111+ isSignInWithEmailLink ( link : string ) : boolean ;
112+
105113 removeAuthStateDidChangeListener ( listenerHandle : NSObjectProtocol ) : void ;
106114
107115 removeIDTokenDidChangeListener ( listenerHandle : NSObjectProtocol ) : void ;
@@ -110,16 +118,26 @@ declare class FIRAuth extends NSObject {
110118
111119 sendPasswordResetWithEmailCompletion ( email : string , completion : ( p1 : NSError ) => void ) : void ;
112120
121+ sendSignInLinkToEmailActionCodeSettingsCompletion ( email : string , actionCodeSettings : FIRActionCodeSettings , completion : ( p1 : NSError ) => void ) : void ;
122+
113123 setAPNSTokenType ( token : NSData , type : FIRAuthAPNSTokenType ) : void ;
114124
115125 signInAndRetrieveDataWithCredentialCompletion ( credential : FIRAuthCredential , completion : ( p1 : FIRAuthDataResult , p2 : NSError ) => void ) : void ;
116126
127+ signInAndRetrieveDataWithCustomTokenCompletion ( token : string , completion : ( p1 : FIRAuthDataResult , p2 : NSError ) => void ) : void ;
128+
129+ signInAndRetrieveDataWithEmailPasswordCompletion ( email : string , password : string , completion : ( p1 : FIRAuthDataResult , p2 : NSError ) => void ) : void ;
130+
131+ signInAnonymouslyAndRetrieveDataWithCompletion ( completion : ( p1 : FIRAuthDataResult , p2 : NSError ) => void ) : void ;
132+
117133 signInAnonymouslyWithCompletion ( completion : ( p1 : FIRUser , p2 : NSError ) => void ) : void ;
118134
119135 signInWithCredentialCompletion ( credential : FIRAuthCredential , completion : ( p1 : FIRUser , p2 : NSError ) => void ) : void ;
120136
121137 signInWithCustomTokenCompletion ( token : string , completion : ( p1 : FIRUser , p2 : NSError ) => void ) : void ;
122138
139+ signInWithEmailLinkCompletion ( email : string , link : string , completion : ( p1 : FIRAuthDataResult , p2 : NSError ) => void ) : void ;
140+
123141 signInWithEmailPasswordCompletion ( email : string , password : string , completion : ( p1 : FIRUser , p2 : NSError ) => void ) : void ;
124142
125143 signOut ( ) : boolean ;
@@ -299,15 +317,21 @@ declare class FIREmailAuthProvider extends NSObject {
299317
300318 static alloc ( ) : FIREmailAuthProvider ; // inherited from NSObject
301319
320+ static credentialWithEmailLink ( email : string , link : string ) : FIRAuthCredential ;
321+
302322 static credentialWithEmailPassword ( email : string , password : string ) : FIRAuthCredential ;
303323
304324 static new ( ) : FIREmailAuthProvider ; // inherited from NSObject
305325}
306326
307327declare var FIREmailAuthProviderID : string ;
308328
329+ declare var FIREmailLinkAuthSignInMethod : string ;
330+
309331declare var FIREmailPasswordAuthProviderID : string ;
310332
333+ declare var FIREmailPasswordAuthSignInMethod : string ;
334+
311335declare class FIRFacebookAuthProvider extends NSObject {
312336
313337 static alloc ( ) : FIRFacebookAuthProvider ; // inherited from NSObject
@@ -319,6 +343,8 @@ declare class FIRFacebookAuthProvider extends NSObject {
319343
320344declare var FIRFacebookAuthProviderID : string ;
321345
346+ declare var FIRFacebookAuthSignInMethod : string ;
347+
322348declare class FIRGitHubAuthProvider extends NSObject {
323349
324350 static alloc ( ) : FIRGitHubAuthProvider ; // inherited from NSObject
@@ -330,6 +356,8 @@ declare class FIRGitHubAuthProvider extends NSObject {
330356
331357declare var FIRGitHubAuthProviderID : string ;
332358
359+ declare var FIRGitHubAuthSignInMethod : string ;
360+
333361declare class FIRGoogleAuthProvider extends NSObject {
334362
335363 static alloc ( ) : FIRGoogleAuthProvider ; // inherited from NSObject
@@ -341,6 +369,8 @@ declare class FIRGoogleAuthProvider extends NSObject {
341369
342370declare var FIRGoogleAuthProviderID : string ;
343371
372+ declare var FIRGoogleAuthSignInMethod : string ;
373+
344374declare class FIROAuthProvider extends NSObject {
345375
346376 static alloc ( ) : FIROAuthProvider ; // inherited from NSObject
@@ -378,6 +408,8 @@ declare class FIRPhoneAuthProvider extends NSObject {
378408
379409declare var FIRPhoneAuthProviderID : string ;
380410
411+ declare var FIRPhoneAuthSignInMethod : string ;
412+
381413declare class FIRTwitterAuthProvider extends NSObject {
382414
383415 static alloc ( ) : FIRTwitterAuthProvider ; // inherited from NSObject
@@ -389,6 +421,8 @@ declare class FIRTwitterAuthProvider extends NSObject {
389421
390422declare var FIRTwitterAuthProviderID : string ;
391423
424+ declare var FIRTwitterAuthSignInMethod : string ;
425+
392426declare class FIRUser extends NSObject implements FIRUserInfo {
393427
394428 static alloc ( ) : FIRUser ; // inherited from NSObject
0 commit comments