FIREmailAuthProvider
@interface FIREmailAuthProvider : NSObject
A concrete implementation of FIRAuthProvider
for Email & Password Sign In.
-
Creates an
FIRAuthCredential
for an email & password sign in.Declaration
Objective-C
+ (nonnull FIRAuthCredential *)credentialWithEmail:(nonnull NSString *)email password:(nonnull NSString *)password;
Parameters
email
The user’s email address.
password
The user’s password.
Return Value
A FIRAuthCredential containing the email & password credential.
-
Creates an
FIRAuthCredential
for an email & link sign in.Declaration
Objective-C
+ (nonnull FIRAuthCredential *)credentialWithEmail:(nonnull NSString *)email link:(nonnull NSString *)link;
Parameters
email
The user’s email address.
link
The email sign-in link.
Return Value
A FIRAuthCredential containing the email & link credential.
-
This class is not meant to be initialized.
Declaration
Objective-C
- (nonnull instancetype)init;