EmailAuthProvider
@available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *)
@objc(FIREmailAuthProvider)
open class EmailAuthProvider : NSObject
A concrete implementation of AuthProvider
for Email & Password Sign In.
-
A string constant identifying the email & password identity provider.
Declaration
Swift
@objc public static let id: String
-
Creates an
AuthCredential
for an email & password sign inDeclaration
Swift
@objc open class func credential(withEmail email: String, password: String) -> AuthCredential
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
@objc open class func credential(withEmail email: String, link: String) -> AuthCredential
Parameters
email
The user’s email address.
link
The email sign-in link.
Return Value
An
AuthCredential
containing the email & link credential.