ITokenService Interface
The ITokenService abstracts the discovery of claims contained within a token
Signature
export interface ITokenService
Methods
Method | Return Type | Description |
---|---|---|
extractClaims(token) | ITokenClaims |
Method Details
extractClaims
Signature
extractClaims(token: string): ITokenClaims;
Parameters
Parameter | Type | Description |
---|---|---|
token | string |
Returns
Return type: ITokenClaims