Type alias CreateTokenPayload

CreateTokenPayload: {
    abilities?: string;
    expiresAt?: string;
    name: string;
}

Type declaration

  • Optional abilities?: string

    Authorization permissions for the token

  • Optional expiresAt?: string

    Date when this token expires. This token will be automatically revoked beyond this date

  • name: string

    Name of the api token