@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
22 lines • 659 B
TypeScript
import { Label } from './Label';
import { PermissionEnum } from './PermissionEnum';
/** Structure holding the elements about a token */
export interface Token {
/** The actual access token */
access: string;
/** Token creation date */
createdAt: string;
/** Description of the token */
description: string;
/** Token expiration date */
expiryAt: string;
/** Id of the token */
id: string;
/** Is your token revoked? */
isRevoked: boolean;
/** Labels for the token if set */
labels: Label[];
/** Token permission: read or write */
permission: PermissionEnum;
}
//# sourceMappingURL=Token.d.ts.map