mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3745] Added docs for new core services (#4126)
This commit is contained in:
committed by
Eugenio Romano
parent
5690a64842
commit
78411fc365
@@ -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('.');
|
||||
|
||||
|
Reference in New Issue
Block a user