FIREmailPasswordAuthProvider

@interface FIREmailPasswordAuthProvider : NSObject

A concrete implementation of FIRAuthProvider for Email & Password Sign In.

  • Creates an FIRAuthCredential for an email & password sign in.

    Declaration

    Swift

    class func credential(withEmail email: String, password: String) -> FIRAuthCredential

    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.

  • This class is not meant to be initialized.

    Declaration

    Objective-C

    - (nonnull instancetype)init;