-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
The library's readme states that "This library is a Java reference implementation for dealing with consent strings in the IAB EU's GDPR Transparency and Consent Framework." There are two distinct consent string formats outlined in the specification (v.1.1):
- global, vendor consent string (euconsent) as described in https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/Consent%20string%20and%20vendor%20list%20formats%20v1.1%20Final.md#vendor-consent-string-format-
- publisher purposes consent string (pubconsent) as described in https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/Consent%20string%20and%20vendor%20list%20formats%20v1.1%20Final.md#publisher-purposes-consent-string-format-
However, currently the library appears to support only global, vendor consent string (correct me if I'm wrong). Looking from a publisher's perspective it would surely help if the publisher purposes consent string was supported as well. It makes sense since both consent strings have similar formats so there is potential for reusing significant part of codebase between the two implementations.
Roughly, these would be the things to do:
- Refactor existing ConsentStringParser, extracting common logic out so that it can be reused when implementing publisher purposes consent string parser
- Rename existing ConsentStringParser so that it's clear it supports global, vendor consent string
- Implement publisher purposes consent string parser
What do you think?
Metadata
Metadata
Assignees
Labels
No labels