voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
32 lines (21 loc) • 1.92 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/auth](./auth.md) > [EmailAuthProvider](./auth.emailauthprovider.md)
## EmailAuthProvider class
Provider for generating [EmailAuthCredential](./auth.emailauthcredential.md)<!-- -->.
<b>Signature:</b>
```typescript
export declare class EmailAuthProvider implements AuthProvider
```
<b>Implements:</b> [AuthProvider](./auth.authprovider.md)
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [EMAIL\_LINK\_SIGN\_IN\_METHOD](./auth.emailauthprovider.email_link_sign_in_method.md) | <code>static</code> | (not declared) | Always set to [SignInMethod.EMAIL\_LINK](./auth.signinmethod.email_link.md)<!-- -->. |
| [EMAIL\_PASSWORD\_SIGN\_IN\_METHOD](./auth.emailauthprovider.email_password_sign_in_method.md) | <code>static</code> | (not declared) | Always set to [SignInMethod.EMAIL\_PASSWORD](./auth.signinmethod.email_password.md)<!-- -->. |
| [PROVIDER\_ID](./auth.emailauthprovider.provider_id.md) | <code>static</code> | (not declared) | Always set to [ProviderId.PASSWORD](./auth.providerid.password.md)<!-- -->, even for email link. |
| [providerId](./auth.emailauthprovider.providerid.md) | | (not declared) | Always set to [ProviderId.PASSWORD](./auth.providerid.password.md)<!-- -->, even for email link. |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [credential(email, password)](./auth.emailauthprovider.credential.md) | <code>static</code> | Initialize an [AuthCredential](./auth.authcredential.md) using an email and password. |
| [credentialWithLink(email, emailLink)](./auth.emailauthprovider.credentialwithlink.md) | <code>static</code> | Initialize an [AuthCredential](./auth.authcredential.md) using an email and an email link after a sign in with email link operation. |