diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2021-12-07 19:29:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 19:29:32 +0200 |
commit | 155910dabffa0f60a2075be862f2cf8c31fad685 (patch) | |
tree | d6d6985a54558ff12452820935d532dd4477c984 /src/saml2/entity_category/swamid.py | |
parent | b32fe902b47803fb4a701ed7830d9e7b03fde3fc (diff) | |
parent | e311ae82cf4c90b441e13adc55cd3f5074161bf8 (diff) | |
download | pysaml2-155910dabffa0f60a2075be862f2cf8c31fad685.tar.gz |
Merge pull request #842 from johanlundberg/lundberg_swamid_esi
Implement entity category MyAcademicID-ESI for SWAMID
Diffstat (limited to 'src/saml2/entity_category/swamid.py')
-rw-r--r-- | src/saml2/entity_category/swamid.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/saml2/entity_category/swamid.py b/src/saml2/entity_category/swamid.py index 00066d21..61525b70 100644 --- a/src/saml2/entity_category/swamid.py +++ b/src/saml2/entity_category/swamid.py @@ -58,11 +58,14 @@ GEANT_COCO = [ 'schacHomeOrganizationType', ] +MYACADEMICID_ESI = ['schacPersonalUniqueCode'] + # These give you access to information RESEARCH_AND_EDUCATION = 'http://www.swamid.se/category/research-and-education' # Deprecated from 2021-03-31 SFS_1993_1153 = 'http://www.swamid.se/category/sfs-1993-1153' # Deprecated from 2021-03-31 RESEARCH_AND_SCHOLARSHIP = 'http://refeds.org/category/research-and-scholarship' COCO = 'http://www.geant.net/uri/dataprotection-code-of-conduct/v1' +ESI = 'https://myacademicid.org/entity-categories/esi' # presently these don't by themself EU = 'http://www.swamid.se/category/eu-adequate-protection' # Deprecated from 2021-03-31 @@ -77,6 +80,8 @@ RELEASE = { (RESEARCH_AND_EDUCATION, HEI): NAME + STATIC_ORG_INFO + OTHER, RESEARCH_AND_SCHOLARSHIP: R_AND_S, COCO: GEANT_COCO, + ESI: MYACADEMICID_ESI, + (ESI, COCO): MYACADEMICID_ESI + GEANT_COCO, } ONLY_REQUIRED = {COCO: True} |