Home > @firebase/auth > EmailAuthProvider
EmailAuthProvider class
Provider for generating EmailAuthCredential.
Signature:
export declare class EmailAuthProvider implements AuthProvider
Implements: AuthProvider
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
EMAIL_LINK_SIGN_IN_METHOD | static |
(not declared) | Always set to SignInMethod.EMAIL_LINK. |
EMAIL_PASSWORD_SIGN_IN_METHOD | static |
(not declared) | Always set to SignInMethod.EMAIL_PASSWORD. |
PROVIDER_ID | static |
(not declared) | Always set to ProviderId.PASSWORD, even for email link. |
providerId | (not declared) | Always set to ProviderId.PASSWORD, even for email link. |
Methods
Method | Modifiers | Description |
---|---|---|
credential(email, password) | static |
Initialize an AuthCredential using an email and password. |
credentialWithLink(email, emailLink) | static |
Initialize an AuthCredential using an email and an email link after a sign in with email link operation. |