1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { Resource } from 'models/resource';
7 export interface ApiClientAuthorization extends Resource {
12 createdByIpAddress: string;
13 lastUsedByIpAddress: string;
19 defaultOwnerUuid: string;
23 export const getTokenV2 = (aca: ApiClientAuthorization): string =>
24 `v2/${aca.uuid}/${aca.apiToken}`;