mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
jwt-decode test added
This commit is contained in:
parent
e2e1e881bb
commit
0edde72be8
5
jwt-decode/jwt-decode-test.ts
Normal file
5
jwt-decode/jwt-decode-test.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import * as jwtDecode from 'jwt-decode';
|
||||
|
||||
let token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb28iOiJiYXIiLCJleHAiOjEzOTMyODY4OTMsImlhdCI6MTM5MzI2ODg5M30.4-iaDojEVl0pJQMjrbM1EzUIfAZgsbK_kgnVyVxFSVo";
|
||||
|
||||
let decodedToken = jwtDecode(responseIdToken);
|
||||
Loading…
Reference in New Issue
Block a user