projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '16115-sharing-links'. Closes #16115
[arvados-workbench2.git]
/
src
/
models
/
session.ts
diff --git
a/src/models/session.ts
b/src/models/session.ts
index 8a5002be5e6c3aa82fa41b5cb81c363f72dc0c00..630b63d93f513d06fd503d075ca6f6f3c238bdbe 100644
(file)
--- a/
src/models/session.ts
+++ b/
src/models/session.ts
@@
-1,9
+1,24
@@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
+export enum SessionStatus {
+ INVALIDATED,
+ BEING_VALIDATED,
+ VALIDATED
+}
+
export interface Session {
clusterId: string;
remoteHost: string;
export interface Session {
clusterId: string;
remoteHost: string;
- username: string;
+ baseUrl: string;
+ name: string;
email: string;
token: string;
email: string;
token: string;
+ uuid: string;
loggedIn: boolean;
loggedIn: boolean;
- validated: boolean;
+ status: SessionStatus;
+ active: boolean;
+ userIsActive: boolean;
+ apiRevision: number;
}
}