public OpenIDToken queryToken()

in authentication-server/src/main/java/org/apache/servicecomb/fence/authentication/TokenEndpoint.java [68:75]


  public OpenIDToken queryToken(@RequestParam("access_token") String accessToken) {
    CompletableFuture<OpenIDToken> result = store.readTokenByAccessToken(accessToken);
    try {
      return result.get();
    } catch (Exception e) {
      throw new InvocationException(Status.INTERNAL_SERVER_ERROR, "internal unexpected error.");
    }
  }