JWTRegisteredClaims.subject()

Return the sub parameter value. Throws an Error if the parameter doesn't exist or the value isn't a string.

Definition

function subject(): string;