@techiediaries/ngx-jwtauth
v0.0.2
Published
An Angular 4.3+ for JWT Authentication
Downloads
3
Readme
@techiediaries/ngx-jwtauth
This is an Angular 4.3+ library for attaching a JSON Web Token to each HttpClient requests .
Demo
You can find a demo project in this repo
An online simple demo
Installation
To use ngx-jwtauth in your project, install it via npm:
$ npm install @techiediaries/ngx-jwtauth --save
Usage
import { HttpClientModule } from '@angular/common/http';
import { JWTAuthModule } from '@techiediaries/ngx-jwtauth';
@NgModule({
declarations: [
AppComponent,
HomeComponent,
AuthComponent
],
imports: [
BrowserModule,
HttpClientModule,
JWTAuthModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
License
MIT © Techiediaries