Skip to content

Commit 54e8896

Browse files
committed
More review comments
1 parent 3d6403b commit 54e8896

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

examples/sample_bidstream_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ def _usage():
3636
print('Identity Type =', decrypt_result.identity_type)
3737
print('Advertising Token Version =', decrypt_result.advertising_token_version)
3838
print('Is Client Side Generated =', decrypt_result.is_client_side_generated)
39-
print('Site Key Site ID =', decrypt_result.site_key_site_id)

examples/sample_sharing_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,4 @@ def _usage():
3838
print('Site ID =', decrypt_result.site_id)
3939
print('Identity Scope =', decrypt_result.identity_scope)
4040
print('Identity Type =', decrypt_result.identity_type)
41-
print('Advertising Token Version =', decrypt_result.advertising_token_version)
42-
print('Site Key Site ID =', decrypt_result.site_key_site_id)
41+
print('Advertising Token Version =', decrypt_result.advertising_token_version)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "uid2_client"
10-
version = "2.3.0"
10+
version = "2.2.8"
1111
authors = [
1212
{ name = "UID2 team", email = "unifiedid-admin@thetradedesk.com" }
1313
]

uid2_client/encryption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def _token_has_valid_lifetime(keys, client_type, established, expires, now):
135135
if (expires - established).total_seconds() > max_life_time_seconds:
136136
return False
137137
elif established > now:
138-
return (established - now).total_seconds() < keys.get_allow_clock_skew_seconds()
138+
return (established - now).total_seconds() <= keys.get_allow_clock_skew_seconds()
139139
else:
140140
return True
141141

0 commit comments

Comments
 (0)