Skip to content

Commit c280a91

Browse files
committed
Format code with black and isort
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 3007eb7 commit c280a91

File tree

230 files changed

+25996
-26741
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

230 files changed

+25996
-26741
lines changed

example/attributemaps/adfs_v1x.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
MAP = {
77
"identifier": "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified",
88
"fro": {
9-
'http://schemas.xmlsoap.org/claims/commonname': 'commonName',
10-
'http://schemas.xmlsoap.org/claims/emailaddress': 'emailAddress',
11-
'http://schemas.xmlsoap.org/claims/group': 'group',
12-
'http://schemas.xmlsoap.org/claims/upn': 'upn',
13-
},
9+
"http://schemas.xmlsoap.org/claims/commonname": "commonName",
10+
"http://schemas.xmlsoap.org/claims/emailaddress": "emailAddress",
11+
"http://schemas.xmlsoap.org/claims/group": "group",
12+
"http://schemas.xmlsoap.org/claims/upn": "upn",
13+
},
1414
"to": {
15-
'commonName': 'http://schemas.xmlsoap.org/claims/commonname',
16-
'emailAddress': 'http://schemas.xmlsoap.org/claims/emailaddress',
17-
'group': 'http://schemas.xmlsoap.org/claims/group',
18-
'upn': 'http://schemas.xmlsoap.org/claims/upn',
19-
}
15+
"commonName": "http://schemas.xmlsoap.org/claims/commonname",
16+
"emailAddress": "http://schemas.xmlsoap.org/claims/emailaddress",
17+
"group": "http://schemas.xmlsoap.org/claims/group",
18+
"upn": "http://schemas.xmlsoap.org/claims/upn",
19+
},
2020
}

example/attributemaps/adfs_v20.py

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,43 @@
55
MAP = {
66
"identifier": "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified",
77
"fro": {
8-
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress': 'emailAddress',
9-
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname': 'givenName',
10-
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name': 'name',
11-
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn': 'upn',
12-
'http://schemas.xmlsoap.org/claims/commonname': 'commonName',
13-
'http://schemas.xmlsoap.org/claims/group': 'group',
14-
'http://schemas.microsoft.com/ws/2008/06/identity/claims/role': 'role',
15-
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname': 'surname',
16-
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier': 'privatePersonalId',
17-
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier': 'nameId',
18-
'http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod': 'authenticationMethod',
19-
'http://schemas.xmlsoap.com/ws/2005/05/identity/claims/denyonlysid': 'denyOnlySid',
20-
'http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid': 'denyOnlyPrimarySid',
21-
'http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid': 'denyOnlyPrimaryGroupSid',
22-
'http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid': 'groupSid',
23-
'http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid': 'primaryGroupSid',
24-
'http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid': 'primarySid',
25-
'http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname': 'windowsAccountName',
26-
},
8+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress": "emailAddress",
9+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "givenName",
10+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "name",
11+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "upn",
12+
"http://schemas.xmlsoap.org/claims/commonname": "commonName",
13+
"http://schemas.xmlsoap.org/claims/group": "group",
14+
"http://schemas.microsoft.com/ws/2008/06/identity/claims/role": "role",
15+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "surname",
16+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier": "privatePersonalId",
17+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "nameId",
18+
"http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod": "authenticationMethod",
19+
"http://schemas.xmlsoap.com/ws/2005/05/identity/claims/denyonlysid": "denyOnlySid",
20+
"http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid": "denyOnlyPrimarySid",
21+
"http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid": "denyOnlyPrimaryGroupSid",
22+
"http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid": "groupSid",
23+
"http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid": "primaryGroupSid",
24+
"http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid": "primarySid",
25+
"http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname": "windowsAccountName",
26+
},
2727
"to": {
28-
'emailAddress': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress',
29-
'givenName': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname',
30-
'name': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name',
31-
'upn': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn',
32-
'commonName': 'http://schemas.xmlsoap.org/claims/commonname',
33-
'group': 'http://schemas.xmlsoap.org/claims/group',
34-
'role': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/role',
35-
'surname': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname',
36-
'privatePersonalId': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier',
37-
'nameId': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier',
38-
'authenticationMethod': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod',
39-
'denyOnlySid': 'http://schemas.xmlsoap.com/ws/2005/05/identity/claims/denyonlysid',
40-
'denyOnlyPrimarySid': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid',
41-
'denyOnlyPrimaryGroupSid': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid',
42-
'groupSid': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid',
43-
'primaryGroupSid': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid',
44-
'primarySid': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid',
45-
'windowsAccountName': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname',
46-
}
28+
"emailAddress": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
29+
"givenName": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname",
30+
"name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
31+
"upn": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn",
32+
"commonName": "http://schemas.xmlsoap.org/claims/commonname",
33+
"group": "http://schemas.xmlsoap.org/claims/group",
34+
"role": "http://schemas.microsoft.com/ws/2008/06/identity/claims/role",
35+
"surname": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
36+
"privatePersonalId": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier",
37+
"nameId": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier",
38+
"authenticationMethod": "http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod",
39+
"denyOnlySid": "http://schemas.xmlsoap.com/ws/2005/05/identity/claims/denyonlysid",
40+
"denyOnlyPrimarySid": "http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid",
41+
"denyOnlyPrimaryGroupSid": "http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid",
42+
"groupSid": "http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid",
43+
"primaryGroupSid": "http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid",
44+
"primarySid": "http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid",
45+
"windowsAccountName": "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname",
46+
},
4747
}

0 commit comments

Comments
 (0)