FIREmailAuthProvider
@interface FIREmailAuthProvider : NSObject
A concrete implementation of AuthProvider
for Email & Password Sign In.
-
Creates an
AuthCredential
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
An
AuthCredential
containing the email & password credential. -
Creates an
AuthCredential
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
An
AuthCredential
containing the email & link credential. -
This class is not meant to be initialized directly.
Declaration
Objective-C
- (nonnull instancetype)init;