-
Notifications
You must be signed in to change notification settings - Fork 3
/
userInfo.ts
38 lines (36 loc) · 1.35 KB
/
userInfo.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
export type UserInfo = UserInfoSPID | UserInfoCIE;
export type UserInfoSPID = {
"https://attributes.spid.gov.it/name"?: string;
"https://attributes.spid.gov.it/familyName"?: string;
"https://attributes.spid.gov.it/placeOfBirth"?: string;
"https://attributes.spid.gov.it/countyOfBirth"?: string;
"https://attributes.spid.gov.it/dateOfBirth"?: string;
"https://attributes.spid.gov.it/gender"?: string;
"https://attributes.spid.gov.it/companyName"?: string;
"https://attributes.spid.gov.it/registeredOffice"?: string;
"https://attributes.spid.gov.it/fiscalNumber"?: string;
"https://attributes.spid.gov.it/ivaCode"?: string;
"https://attributes.spid.gov.it/idCard"?: string;
"https://attributes.spid.gov.it/mobilePhone"?: string;
"https://attributes.spid.gov.it/email"?: string;
"https://attributes.spid.gov.it/address"?: string;
"https://attributes.spid.gov.it/expirationDate"?: string;
"https://attributes.spid.gov.it/digitalAddress"?: string;
};
export type UserInfoCIE = {
sub?: string;
given_name?: string;
family_name?: string;
email?: string;
email_verified?: string;
gender?: string;
birthdate?: string;
phone_number?: string;
phone_number_verified?: string;
address?: string;
place_of_birth?: string;
document_details?: string;
e_delivery_service?: string;
fiscal_number?: string;
physical_phone_number?: string;
};