11__author__ = 'rolandh'
22
3- NAME = ["givenName" , "displayName" , "sn" , "cn" ]
4- STATIC_ORG_INFO = ["c" , "o" , "co" , "norEduOrgAcronym" , "schacHomeOrganization" ,
5- 'schacHomeOrganizationType' ]
6- OTHER = ["eduPersonPrincipalName" , "eduPersonScopedAffiliation" , "mail" ,
7- "eduPersonAssurance" ]
8-
9- R_AND_S = ['eduPersonTargetedID' ,
10- 'eduPersonPrincipalName' ,
11- 'mail' ,
12- 'displayName' ,
13- 'givenName' ,
14- 'sn' ,
15- 'eduPersonScopedAffiliation'
16- ]
3+ NAME = [
4+ 'givenName' ,
5+ 'displayName' ,
6+ 'sn' ,
7+ 'cn' ,
8+ ]
9+
10+ STATIC_ORG_INFO = [
11+ 'c' ,
12+ 'o' ,
13+ 'co' ,
14+ 'norEduOrgAcronym' ,
15+ 'schacHomeOrganization' ,
16+ 'schacHomeOrganizationType' ,
17+ ]
18+
19+ OTHER = [
20+ 'eduPersonPrincipalName' ,
21+ 'eduPersonScopedAffiliation' ,
22+ 'mail' ,
23+ 'eduPersonAssurance'
24+ ]
25+
26+ R_AND_S = [
27+ 'eduPersonTargetedID' ,
28+ 'eduPersonPrincipalName' ,
29+ 'eduPersonUniqueID' ,
30+ 'mail' ,
31+ 'displayName' ,
32+ 'givenName' ,
33+ 'sn' ,
34+ 'eduPersonAssurance' ,
35+ 'eduPersonScopedAffiliation'
36+ ]
37+
38+ GEANT_COCO = [
39+ 'eduPersonTargetedID' ,
40+ 'eduPersonPrincipalName' ,
41+ 'eduPersonUniqueID' ,
42+ 'eduPersonOrcid' ,
43+ 'norEduPersonNIN' ,
44+ 'personalIdentityNumber' ,
45+ 'schacDateOfBirth' ,
46+ 'mail' ,
47+ 'displayName' ,
48+ 'cn' ,
49+ 'givenName' ,
50+ 'sn' ,
51+ 'eduPersonAssurance' ,
52+ 'eduPersonScopedAffiliation' ,
53+ 'eduPersonAffiliation' ,
54+ 'o' ,
55+ 'norEduOrgAcronym' ,
56+ 'c' ,
57+ 'co' ,
58+ 'schacHomeOrganization' ,
59+ 'schacHomeOrganizationType' ,
60+ ]
1761
1862# These give you access to information
19- RESEARCH_AND_EDUCATION = "http://www.swamid.se/category/research-and-education"
20- SFS_1993_1153 = "http://www.swamid.se/category/sfs-1993-1153"
21- RESEARCH_AND_SCHOLARSHIP = "http://refeds.org/category/research-and-scholarship"
63+ RESEARCH_AND_EDUCATION = 'http://www.swamid.se/category/research-and-education' # Deprecated from 2021-03-31
64+ SFS_1993_1153 = 'http://www.swamid.se/category/sfs-1993-1153' # Deprecated from 2021-03-31
65+ RESEARCH_AND_SCHOLARSHIP = 'http://refeds.org/category/research-and-scholarship'
66+ COCO = 'http://www.geant.net/uri/dataprotection-code-of-conduct/v1'
2267
2368# presently these don't by themself
24- EU = " http://www.swamid.se/category/eu-adequate-protection"
25- NREN = " http://www.swamid.se/category/nren-service"
26- HEI = " http://www.swamid.se/category/hei-service"
69+ EU = ' http://www.swamid.se/category/eu-adequate-protection' # Deprecated from 2021-03-31
70+ NREN = ' http://www.swamid.se/category/nren-service' # Deprecated from 2021-03-31
71+ HEI = ' http://www.swamid.se/category/hei-service' # Deprecated from 2021-03-31
2772
2873RELEASE = {
29- "" : [" eduPersonTargetedID" ],
30- SFS_1993_1153 : [" norEduPersonNIN" , " eduPersonAssurance" ],
74+ '' : [' eduPersonTargetedID' ],
75+ SFS_1993_1153 : [' norEduPersonNIN' , ' eduPersonAssurance' ],
3176 (RESEARCH_AND_EDUCATION , EU ): NAME + STATIC_ORG_INFO + OTHER ,
3277 (RESEARCH_AND_EDUCATION , NREN ): NAME + STATIC_ORG_INFO + OTHER ,
3378 (RESEARCH_AND_EDUCATION , HEI ): NAME + STATIC_ORG_INFO + OTHER ,
3479 RESEARCH_AND_SCHOLARSHIP : R_AND_S ,
35- }
80+ COCO : GEANT_COCO ,
81+ }
0 commit comments