/
ProviderIdentity.ts
62 lines (54 loc) · 1.09 KB
/
ProviderIdentity.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/**
* Copyright (c) Formium, Inc. and its affiliates.
*
* This source code is licensed under the Business Source License license found in the
* LICENSE file in the root directory of this source tree.
*
*/
/**
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
*
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/* eslint-disable @typescript-eslint/consistent-type-assertions */
/**
* Provider identity
*
* @public
*/
export interface ProviderIdentity {
/**
* id of the project
*/
id: string;
/**
* Third party identity provider
*/
provider: ProviderIdentityProvider;
/**
* Name of the user
*/
name: string;
/**
* Username of the account
*/
username?: string;
/**
* Email of the account
*/
email: string;
/**
* URL of the users avatar
*/
avatarUrl?: string;
}
export enum ProviderIdentityProvider {
GOOGLE = <any>'GOOGLE',
GITHUB = <any>'GITHUB',
}