Skip to content

Commit

Permalink
Respond with expiry time
Browse files Browse the repository at this point in the history
  • Loading branch information
JoostvDoorn committed Oct 24, 2024
1 parent eede3f5 commit c34a224
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ private JsonObject addToken(SliceInstance sliceInstance) {
String token = (String) tokenData.get("token");
Instant expiryTime = (Instant) tokenData.get("expiryTime");
returnArray.put("temporaryToken", token);
returnArray.put("tokenExpiryTime", expiryTime.getEpochSecond());
return returnArray;
}

Expand Down

0 comments on commit c34a224

Please sign in to comment.