@Test void toUserFromAccessToken() { User user = converter.toUserFromAccessToken(token); assertThat(user.getId(), is("356f1e99-2c74-498f-a548-bb714f6dd7b6")); assertThat(user.getEmail(), is("borys.zora@javatar.pro")); assertThat(user.getName(), is("Borys Zora")); assertThat(user.getGivenName(), is("Borys")); assertThat(user.getFamilyName(), is("Zora")); assertThat(user.getPreferredUsername(), is("borys")); assertThat(user.getEmailVerified(), is(false)); assertThat(user.getScope(), is("profile email")); }
@Override public User toUserFromAccessToken(String accessToken) { Map token = convertPayloadPartToMap(accessToken); return toUserFromAccessTokenMap(token); }
AccessTokenConverter implements pro.javatar.security.api.AccessTokenConverter { @Override public User toUserFromAccessToken(String accessToken) { Map token = convertPayloadPartToMap(accessToken); return toUserFromAccessTokenMap(token); } }
AccessTokenConverter implements pro.javatar.security.api.AccessTokenConverter { @Override public User toUserFromAccessToken(String accessToken) { Map token = convertPayloadPartToMap(accessToken); return toUserFromAccessTokenMap(token); }  }
AccessTokenConverter implements pro.javatar.security.api.AccessTokenConverter { @Override public User toUserFromAccessToken(String accessToken) { Map token = convertPayloadPartToMap(accessToken); return toUserFromAccessTokenMap(token); }  @Override TokenExpirationInfoBO toTokenExpirationInfoBO(String accessToken); @Override User toUserFromAccessToken(String accessToken); }
AccessTokenConverter implements pro.javatar.security.api.AccessTokenConverter { @Override public User toUserFromAccessToken(String accessToken) { Map token = convertPayloadPartToMap(accessToken); return toUserFromAccessTokenMap(token); }  @Override TokenExpirationInfoBO toTokenExpirationInfoBO(String accessToken); @Override User toUserFromAccessToken(String accessToken);  }