UNPKG

@digitalpersona/core

Version:
27 lines (15 loc) 564 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/core](./core.md) &gt; [JWT](./core.jwt.md) &gt; [claims](./core.jwt.claims.md) ## JWT.claims() method Extracts a claims set from the JSON Web Token. <b>Signature:</b> ```typescript static claims(jwt: JSONWebToken): ClaimSet; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | jwt | <code>JSONWebToken</code> | a JSON Web Token string. | <b>Returns:</b> `ClaimSet` a claims set.