# ngx-angularfire-auth

> A service for Angular Firebase authentication

Latest version **1.0.3** (published 2019-11-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install ngx-angularfire-auth
pnpm add ngx-angularfire-auth
yarn add ngx-angularfire-auth
bun add ngx-angularfire-auth
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-11-10 |
| First published | 2019-11-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 76.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Joshua Colvin |
| Maintainers | joshuacolvin |
| Keywords | Angular, Firebase, Angularfire, Authentication |

## Links

- npm: https://www.npmjs.com/package/ngx-angularfire-auth
- Repository: https://github.com/joshuacolvin/ngx-angularfire-auth
- Issues: https://github.com/joshuacolvin/ngx-angularfire-auth/issues
- npm.io page: https://npm.io/package/ngx-angularfire-auth

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.9.0

## Alternatives

- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads
- [escher-request](https://npm.io/package/escher-request.md) — 545 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2019-11-10
- 1.0.2 — 2019-11-10
- 1.0.1 — 2019-11-10
- 1.0.0 — 2019-11-10

## README

# NgxAngularfireAuth

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.13.

## Install

```bash
npm install ngx-angularfire-auth
```

## Usage

Provide the service:

```typescript
import { NgxAngularFireAuthService } from 'ngx-angularfire-auth';

@NgModule({
  providers: [NgxAngularFireAuthService],
})
export class AppModule {}
```

Use the service in a component:

```typescript
import { Component } from '@angular/core';
import { NgxAngularFireAuthService } from 'ngx-angularfire-auth';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss'],
})
export class AppComponent {
  constructor(private authService: NgxAngularFireAuthService) {}

  signIn(email: string, password: string) {
    this.authService
      .signInWithEmailAndPassword(email, password)
      .subscribe(() => {
        // do something
      });
  }
}
```

---
_Source: https://npm.io/package/ngx-angularfire-auth · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
