@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i @jasoftware/service_django_jwt

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

3.98 kB

Total Files

3

Last publish

Collaborators

  • jasoftware