@jasoftware/service_django_jwt

0.0.1 • Public • Published

User Service

ALPHA We are still working on this. May not work! When this is gone its working! ;-)

Used as Provider in app.module.ts. Note the UserService in the Providers declaration.

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
  ],
  providers: [UserService],
  bootstrap: [AppComponent]
})
export class AppModule { }

Acknowledgements

Most of this code was written by Keith Dechant taken from here. I just added a few bits that were useful to me.

https://www.metaltoad.com/blog/angular-api-calls-django-authentication-jwt

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @jasoftware/service_django_jwt

      Weekly Downloads

      0

      Version

      0.0.1

      License

      ISC

      Unpacked Size

      3.98 kB

      Total Files

      3

      Last publish

      Collaborators

      • jasoftware