extract Credential Id
Extracts the credentialId claim from a JWT token.
Return
The credential ID if present, null otherwise
Parameters
token
The JWT token string
Throws
if the token format is invalid
Extracts the credentialId claim from a JWT token.
The credential ID if present, null otherwise
The JWT token string
if the token format is invalid