@Test void toTokenExpirationInfoBO() { TokenExpirationInfoBO tokenExpiration = converter.toTokenExpirationInfoBO(token); assertThat(tokenExpiration.getIssuedAt(), is(Instant.parse("2019-04-20T22:25:15Z"))); assertThat(tokenExpiration.getExpiration(), is(Instant.parse("2019-04-20T22:30:15Z"))); assertThat(tokenExpiration.getTokenExpirationDuration(), is(Duration.parse("PT5M"))); }
@Override public TokenExpirationInfoBO toTokenExpirationInfoBO(String accessToken) { Map token = convertPayloadPartToMap(accessToken); return toTokenExpirationInfoBO(token); }
AccessTokenConverter implements pro.javatar.security.api.AccessTokenConverter { @Override public TokenExpirationInfoBO toTokenExpirationInfoBO(String accessToken) { Map token = convertPayloadPartToMap(accessToken); return toTokenExpirationInfoBO(token); } }
AccessTokenConverter implements pro.javatar.security.api.AccessTokenConverter { @Override public TokenExpirationInfoBO toTokenExpirationInfoBO(String accessToken) { Map token = convertPayloadPartToMap(accessToken); return toTokenExpirationInfoBO(token); }  }
AccessTokenConverter implements pro.javatar.security.api.AccessTokenConverter { @Override public TokenExpirationInfoBO toTokenExpirationInfoBO(String accessToken) { Map token = convertPayloadPartToMap(accessToken); return toTokenExpirationInfoBO(token); }  @Override TokenExpirationInfoBO toTokenExpirationInfoBO(String accessToken); @Override User toUserFromAccessToken(String accessToken); }
AccessTokenConverter implements pro.javatar.security.api.AccessTokenConverter { @Override public TokenExpirationInfoBO toTokenExpirationInfoBO(String accessToken) { Map token = convertPayloadPartToMap(accessToken); return toTokenExpirationInfoBO(token); }  @Override TokenExpirationInfoBO toTokenExpirationInfoBO(String accessToken); @Override User toUserFromAccessToken(String accessToken);  }