projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
21128: cleanup, renamed some types Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa...
[arvados.git]
/
src
/
models
/
session.ts
1
// Copyright (C) The Arvados Authors. All rights reserved.
2
//
3
// SPDX-License-Identifier: AGPL-3.0
4
5
export enum SessionStatus {
6
INVALIDATED,
7
BEING_VALIDATED,
8
VALIDATED
9
}
10
11
export interface Session {
12
clusterId: string;
13
remoteHost: string;
14
baseUrl: string;
15
name: string;
16
email: string;
17
token: string;
18
uuid: string;
19
loggedIn: boolean;
20
status: SessionStatus;
21
active: boolean;
22
userIsActive: boolean;
23
apiRevision: number;
24
}