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 {
11 createdByIpAddress: string;
12 lastUsedByIpAddress: string;
21 export const getTokenV2 = (aca: ApiClientAuthorization): string =>
22 `v2/${aca.uuid}/${aca.apiToken}`;