FirebaseAuth Framework Reference

EmailAuthProvider

class EmailAuthProvider : NSObject

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

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

    Declaration

    Swift

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

    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

    Swift

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

    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.