claimString

Returns a decoded JWT payload claim as a string.

Report a problem

Return

claim string value, or null when the claim is absent.

Parameters

name

claim name.

Throws

when the claim is present but not a JSON string.