npm

@ngauth/core
TypeScript icon, indicating that this package has built-in type declarations

0.9.44 • Public • Published

@ngauth/core

Overview

NgAuth is a suite of Angular modules comprising a set of auth-related reusable components and services. The library is mostly frontend/UI, and it uses AWS Cognito for serverless backend. The core module includes shared classes and common utilities. It is not meant to be used by itself.

(Note: this library is currently in beta, and the APIs may change over time.)

Installation

To install this library, run:

$ npm install --save @ngauth/core

Using the library

From your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import the library
import { NgAuthCoreModule } from '@ngauth/core';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify the library as an import
    NgAuthCoreModule.forRoot()
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once the library is imported, you can use its components, directives and pipes in your Angular application.

License

MIT © Harry Y

Readme

Keywords

Package Sidebar

Install

npm i @ngauth/core

Weekly Downloads

2

Version

0.9.44

License

MIT

Unpacked Size

43.3 kB

Total Files

22

Last publish

Collaborators

  • hunnyllc
  • realharry
  • sidew