import { SdPlatformApiTokenScopes } from "../commons/SdPlatformApiTokenScopes"; /** * An API token */ export interface SdPlatformResponseApiToken { /** the key id of the API token, to be used as username when authenticating */ readonly key_id: string; /** scopes which the API token is limited to */ readonly scope: Array; /** epoch timestamp until which the API token shall be valid */ readonly valid_until?: number; /** whether the token is currently active */ readonly active: boolean; /** description of the token */ readonly description: string; } /** * An API token which has been newly created * Note: This is your only chance to obtain the key_secret! */ export interface SdPlatformResponseApiTokenWithSecret extends SdPlatformResponseApiToken { /** the key secret of the API token, to be used as the password when authenticating */ readonly key_secret: string; } //# sourceMappingURL=SdPlatformResponseApiToken.d.ts.map