Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions src/main/java/com/uid2/client/IdentityTokens.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,20 @@ boolean hasIdentityExpired(Instant timestamp) {

String getRefreshResponseKey() { return refreshResponseKey; }

Instant getIdentityExpires() { return identityExpires; } //indicates when the advertising token expires
/**
* @return Instant that indicates when the advertising token expires
*/
public Instant getIdentityExpires() { return identityExpires; }

Instant getRefreshExpires() { return refreshExpires; } //indicates when the refresh token expires
/**
* @return Instant that indicates when the refresh token expires
*/
public Instant getRefreshExpires() { return refreshExpires; } //indicates when the refresh token expires

Instant getRefreshFrom() { return refreshFrom; }
/**
* @return Instant that indicates when identity is due for refresh
*/
public Instant getRefreshFrom() { return refreshFrom; }


private IdentityTokens(String advertisingToken, String refreshToken, String refreshResponseKey, Instant identityExpires,
Expand Down