[ADF-3745] Added docs for new core services (#4126)

This commit is contained in:
Andy Stark
2019-01-10 01:40:07 +00:00
committed by Eugenio Romano
parent 5690a64842
commit 78411fc365
9 changed files with 206 additions and 17 deletions

View File

@@ -24,6 +24,11 @@ export class JwtHelperService {
constructor() {}
/**
* Decodes a JSON web token into a JS object.
* @param token Token in encoded form
* @returns Decoded token data object
*/
decodeToken(token): Object {
let parts = token.split('.');