Skip to content

v5.3.0

Compare
Choose a tag to compare
@sunnywu sunnywu released this 10 Oct 03:29
c7f19e8

What's Changed

  • Added DecryptionResponse.IsClientSideGenerated for decrypting tokens generated from Client Side Token Generation way. They are usually filled but can be null if the token decryption fails and we cannot determine the property.
  • Added DecryptionStatus.UserOptedOut when a Client Side Token Generated token is decrypted and it indicates the user actually has opted out previously so no valid raw UID2 can be used after this decrypt call.
  • Created a second/optional method interface "DecryptionResponse Decrypt(string token, string expectedDomainName)" for domain name check when decrypting UID2 token, to verify if the expectedDomainName param belongs to the UID2 creator's allowed domain name list (which needs to be registered with UID2 admins). If they don't match then it's a domain name check failure.
  • new DecryptionStatus.DomainNameCheckFailed status to indicate if domain name check failed
  • Refactored encryption tests to use a builder for advertiser token