import { OneOrMany, Optional } from '@guarani/types'; /** * Parameters of the JSON Web Token Claims. */ export interface JsonWebTokenClaimsParams { /** * Identifier of the Issuer of the Token. */ readonly iss?: Optional; /** * Subject represented by the Token. */ readonly sub?: Optional; /** * Identifier of the Audience the Token is intended to. */ readonly aud?: Optional>; /** * UTC time denoting the Expiration Time of the Token. */ readonly exp?: Optional; /** * UTC time denoting the moment when the Token will become valid. */ readonly nbf?: Optional; /** * UTC time denoting the moment when the Token was created. */ readonly iat?: Optional; /** * Identifier of the Token. */ readonly jti?: Optional; /** * Additional Claims. */ readonly [claim: string]: any; }