Searched refs:getExpiryTime (Results 1 - 25 of 53) sorted by relevance

123

/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DIntrospectableToken.java25 long getExpiryTime(); method in interface:IntrospectableToken
H A DRefreshToken.java246 return System.currentTimeMillis() > getExpiryTime();
262 public long getExpiryTime() { method in class:RefreshToken
275 return getExpiryTime() == -1;
333 getExpiryTime() == -1 ? null : (getExpiryTime() - System.currentTimeMillis()) / 1000);
344 getExpiryTime() == -1 ? null : (getExpiryTime() - System.currentTimeMillis()) / 1000);
H A DAccessToken.java288 return System.currentTimeMillis() > getExpiryTime();
317 public long getExpiryTime() { method in class:AccessToken
378 (getExpiryTime() - System.currentTimeMillis()) / 1000);
391 (getExpiryTime() - System.currentTimeMillis())/1000);
H A DAuthorizationCode.java181 return System.currentTimeMillis() > getExpiryTime();
189 public long getExpiryTime() { method in class:AuthorizationCode
337 (getExpiryTime() - System.currentTimeMillis()) / 1000);
348 (getExpiryTime() - System.currentTimeMillis()) / 1000);
H A DOAuth2TokenIntrospectionHandler.java76 field(OAuth2Constants.JWTTokenParams.EXP, token.getExpiryTime() == -1 ? null : (token.getExpiryTime
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DIntrospectableToken.java33 long getExpiryTime(); method in interface:IntrospectableToken
H A DStatefulToken.java261 return (getExpiryTime() - currentTimeMillis()) / 1000;
264 public long getExpiryTime() { method in class:StatefulToken
279 return currentTimeMillis() > getExpiryTime();
H A DAuthorizationCode.java105 return currentTimeMillis() > getExpiryTime();
113 public long getExpiryTime() { method in class:AuthorizationCode
280 (getExpiryTime() - currentTimeMillis()) / 1000);
291 (getExpiryTime() - currentTimeMillis()) / 1000);
H A DOAuth2TokenIntrospectionHandler.java89 field(OAuth2Constants.JWTTokenParams.EXP, token.getExpiryTime() == -1 ? null :
90 (token.getExpiryTime() / 1000)),
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/api/tokens/
H A DSAMLToken.java61 public long getExpiryTime() { method in class:SAMLToken
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/api/tokens/
H A DSAMLToken.java61 public long getExpiryTime() { method in class:SAMLToken
/forgerock/openam-v13/openam-core/src/test/java/com/iplanet/dpro/session/share/
H A DSessionInfoTest.java34 assertEquals(info.getExpiryTime(), Long.MAX_VALUE);
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DPermission.java49 public Long getExpiryTime() { method in class:Permission
H A DUmaTokenIntrospectionHandler.java88 if (p.getExpiryTime() != null) {
89 permission.add(OAuth2Constants.JWTTokenParams.EXP, p.getExpiryTime());
95 field(OAuth2Constants.JWTTokenParams.EXP, token.getExpiryTime() / 1000),
H A DRequestingPartyToken.java83 public Long getExpiryTime() { method in class:RequestingPartyToken
147 if (p.getExpiryTime() != null) {
148 permission.add(EXPIRES, p.getExpiryTime());
H A DPermissionTicket.java80 public Long getExpiryTime() { method in class:PermissionTicket
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DPermission.java49 public Long getExpiryTime() { method in class:Permission
H A DUmaTokenIntrospectionHandler.java91 if (p.getExpiryTime() != null) {
92 permission.add(OAuth2Constants.JWTTokenParams.EXP, p.getExpiryTime());
98 field(OAuth2Constants.JWTTokenParams.EXP, token.getExpiryTime() / 1000),
H A DRequestingPartyToken.java87 public Long getExpiryTime() { method in class:RequestingPartyToken
151 if (p.getExpiryTime() != null) {
152 permission.add(EXPIRES, p.getExpiryTime());
/forgerock/openam/openam-core/src/test/java/com/iplanet/dpro/session/share/
H A DSessionInfoTest.java36 assertEquals(info.getExpiryTime(TimeUnit.MILLISECONDS), Long.MAX_VALUE);
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DStatelessTokenMetadata.java66 public long getExpiryTime() { method in class:StatelessTokenMetadata
96 map.put(EXPIRE_TIME, getExpiryTime());
H A DStatelessToken.java91 public long getExpiryTime() { method in class:StatelessToken
119 return (getExpiryTime() - currentTimeMillis()) / 1000;
128 return currentTimeMillis() > getExpiryTime();
H A DStatelessRefreshToken.java95 return getExpiryTime() == defaultExpireTime();
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/test/java/org/forgerock/oauth2/core/
H A DAccessTokenServiceImplTest.java187 given(refreshToken.getExpiryTime()).willReturn(System.currentTimeMillis() - 10);
212 given(refreshToken.getExpiryTime()).willReturn(System.currentTimeMillis() + 100);
244 given(refreshToken.getExpiryTime()).willReturn(System.currentTimeMillis() + 100);
281 given(refreshToken.getExpiryTime()).willReturn(System.currentTimeMillis() + 100);
H A DAuthorizationCodeGrantTypeHandlerTest.java186 given(authorizationCode.getExpiryTime()).willReturn(System.currentTimeMillis() - 10);
215 given(authorizationCode.getExpiryTime()).willReturn(System.currentTimeMillis() + 100);
258 given(authorizationCode.getExpiryTime()).willReturn(System.currentTimeMillis() + 100);
299 given(authorizationCode.getExpiryTime()).willReturn(System.currentTimeMillis() + 100);

Completed in 146 milliseconds

123