Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@fitpuli/fitpuli-auth

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fitpuli/fitpuli-auth

Basic login component/forgot password component with service. Based on @angular/fire.

latest
npmnpm
Version
1.0.0-beta.24
Version published
Maintainers
2
Created
Source

FitpuliAuth

Basic login component/forgot password component with service. Based on @angular/fire.

This library was generated with Angular CLI version 8.2.14.

Code scaffolding

Run ng generate component component-name --project fitpuli-auth to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project fitpuli-auth.

Note: Don't forget to add --project fitpuli-auth or else it will be added to the default project in your angular.json file.

Usage

Add module to imports:

@NgModule({
  declarations: [],
  imports: [
    FitpuliAuthModule.forRoot(environment.firebase, {
      authGuardFallbackURL: "/login"
    })
  ],
  exports: [],
})

Insert <fitpuli-auth (onSuccess)="onSuccess($event)" (onError)="onError($event)"></fitpuli-auth> where you want to display the login UI.

Build

Run ng build fitpuli-auth to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build fitpuli-auth, go to the dist folder cd dist/fitpuli-auth and run npm publish --access public.

Running unit tests

Run ng test fitpuli-auth to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

FAQs

Package last updated on 12 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts