Skip to content

Commit

Permalink
Added max_sharing_lifetime_seconds and identity_scope fields in key/s…
Browse files Browse the repository at this point in the history
…haring endpoint
  • Loading branch information
sunnywu committed Feb 28, 2024
1 parent ac8e72b commit 4d6e5c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/com/uid2/operator/UIDOperatorVerticleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3975,7 +3975,8 @@ void keySharingKeysets_SHARER(Vertx vertx, VertxTestContext testContext, int exp
assertEquals(clientSiteId, respJson.getJsonObject("body").getInteger("caller_site_id"));
assertEquals(UIDOperatorVerticle.MASTER_KEYSET_ID_FOR_SDKS, respJson.getJsonObject("body").getInteger("master_keyset_id"));
assertEquals(4, respJson.getJsonObject("body").getInteger("default_keyset_id"));


assertEquals(config.getInteger(Const.Config.SharingTokenExpiryProp), Integer.parseInt(respJson.getJsonObject("body").getString("token_expiry_seconds")));
assertEquals(expectedMaxSharingLifetimeSeconds, respJson.getJsonObject("body").getInteger("max_sharing_lifetime_seconds"));
assertEquals(getIdentityScope().toString(), respJson.getJsonObject("body").getString("identity_scope"));

Expand Down

0 comments on commit 4d6e5c3

Please sign in to comment.