forked from mcguinness/saml-idp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
86 lines (83 loc) · 1.78 KB
/
config.js
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/**
* User Profile
*/
var profile = {
birth_date: '1936-04-10',
email: 'vets.gov.user+503@id.me',
fname: 'Wendeline',
social: '564930708',
gender: 'Female',
lname: 'O\'Heffernan',
level_of_assurance: '3',
mname: 'Kitty',
multifactor: 'true',
uuid: '43bb64d44a44452a8b30929003a89f53'
}
/**
* SAML Attribute Metadata
*/
var metadata = [{
id: "fname",
optional: false,
displayName: 'First Name',
description: 'The given name of the Veteran',
multiValue: false
}, {
id: "lname",
optional: false,
displayName: 'Last Name',
description: 'The surname of the Veteran',
multiValue: false
}, {
id: "mname",
optional: true,
displayName: 'Middle Name',
description: 'The middle name of the Veteran',
multiValue: false
}, {
id: "email",
optional: false,
displayName: 'E-Mail Address',
description: 'The e-mail address of the Veteran',
multiValue: false
},{
id: "social",
optional: true,
displayName: 'SSN',
description: 'The SSN of the Veteran',
multiValue: false
}, {
id: "multifactor",
optional: true,
displayName: 'Multifactor',
description: 'If the Veteran has two factor auth enabled',
multiValue: false
}, {
id: "gender",
optional: true,
displayName: 'Gender',
description: 'The gender of the Veteran',
multiValue: false
}, {
id: "uuid",
optional: true,
displayName: 'uuid',
description: 'UUID of the Veteran model',
multiValue: false
}, {
id: "level_of_assurance",
optional: true,
displayName: 'Level of Assurance',
description: 'Level of identify proofing available for the Veteran',
multiValue: false
}, {
id: "birth_date",
optional: false,
displayName: 'Birth Date',
description: 'The birth date of the Veteran',
multiValue: false
}];
module.exports = {
user: profile,
metadata: metadata
}