-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.js
66 lines (63 loc) · 1.41 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
/**
* User Profile
*/
var profile = {
userName: '[email protected]',
nameIdFormat: 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
firstName: 'Saml',
lastName: 'Jackson',
displayName: 'saml jackson',
email: '[email protected]',
mobilePhone: '+1-415-555-5141',
groups: 'Simple IdP Users, West Coast Users, Cloud Users'
}
/**
* SAML Attribute Metadata
*/
var metadata = [{
id: "firstName",
optional: false,
displayName: 'First Name',
description: 'The given name of the user',
multiValue: false
}, {
id: "lastName",
optional: false,
displayName: 'Last Name',
description: 'The surname of the user',
multiValue: false
}, {
id: "displayName",
optional: true,
displayName: 'Display Name',
description: 'The display name of the user',
multiValue: false
}, {
id: "email",
optional: false,
displayName: 'E-Mail Address',
description: 'The e-mail address of the user',
multiValue: false
},{
id: "mobilePhone",
optional: true,
displayName: 'Mobile Phone',
description: 'The mobile phone of the user',
multiValue: false
}, {
id: "groups",
optional: true,
displayName: 'Groups',
description: 'Group memberships of the user',
multiValue: true
}, {
id: "userType",
optional: true,
displayName: 'User Type',
description: 'The type of user',
options: ['Admin', 'Editor', 'Commenter']
}];
module.exports = {
user: profile,
metadata: metadata
}