projects
/
arvados-workbench2.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
15088: Adds federated account linking
[arvados-workbench2.git]
/
src
/
models
/
link-account.ts
1
// Copyright (C) The Arvados Authors. All rights reserved.
2
//
3
// SPDX-License-Identifier: AGPL-3.0
4
5
export enum LinkAccountStatus {
6
SUCCESS,
7
CANCELLED,
8
FAILED
9
}
10
11
export enum LinkAccountType {
12
ADD_OTHER_LOGIN,
13
ACCESS_OTHER_ACCOUNT
14
}
15
16
export interface AccountToLink {
17
type: LinkAccountType;
18
userUuid: string;
19
token: string;
20
}