angular2-jwt
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -90,3 +90,3 @@ import {provide, Injectable} from 'angular2/core'; | ||
let request: Observable<Response>; | ||
let request: any; | ||
let globalHeaders = this._config.globalHeaders; | ||
@@ -93,0 +93,0 @@ |
{ | ||
"name": "angular2-jwt", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Helper library for handling JWTs in Angular 2", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -1,2 +0,2 @@ | ||
# angular2-jwt | ||
# angular2-jwt [![npm version](https://img.shields.io/npm/v/angular2-jwt.svg)](https://www.npmjs.com/package/angular2-jwt) [![license](https://img.shields.io/npm/l/angular2-jwt.svg)](https://www.npmjs.com/package/angular2-jwt) | ||
@@ -31,3 +31,3 @@ **angular2-jwt** is a helper library for working with [JWTs](http://jwt.io/introduction) in your Angular 2 applications. | ||
1. `AuthHttp` - allows for individual and explicit authenticated HTTP requests | ||
2. `AuthStatus` - allows you to check whether there is a non-expired JWT in local storage. This can be used for conditionally showing/hiding elements and stopping navigation to certain routes if the user isn't authenticated | ||
2. `tokenNotExpired` - allows you to check whether there is a non-expired JWT in local storage. This can be used for conditionally showing/hiding elements and stopping navigation to certain routes if the user isn't authenticated | ||
@@ -34,0 +34,0 @@ ## Sending Authenticated Requests |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
86184