@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
25 lines • 920 B
TypeScript
import { AccessToken } from './AccessToken';
/** An oAuth2 refresh token details */
export interface Token {
/** list of access tokens derived from the refresh token */
accessTokens: AccessToken[];
/** Description of the OAuth2 client that requested the token */
clientDescription: string;
/** ID of the OAuth2 client that requested the token */
clientId: string;
/** Name of the OAuth2 client that requested the token */
clientName: string;
/** token's creation date */
createdAt: string;
/** token's expiration date */
expiresAt?: string;
/** id of the refresh token */
id: string;
/** list of identities that the token is associated with */
identities: string[];
/** last time the token was used to get a new access token */
lastUsedAt?: string;
/** list of scopes the token has */
scopes: string[];
}
//# sourceMappingURL=Token.d.ts.map