This interface defines the structure of the request body used when creating a new JWT Template.
export interface CreateJwtTemplateRequest {
    name: string;
    description?: string;
    claims: any;
    ttl: number;
    is_default?: boolean;
}

Properties

  • name (string): The name of the JWT template.
  • description (string, optional): A description of the JWT template.
  • claims (any): The claims to be included in the JWT.
  • ttl (number): The time-to-live (TTL) for the JWT in seconds.
  • is_default (boolean, optional): Indicates if this is the default JWT template.