Examples of GitServiceClient


Examples of com.google.apps.easyconnect.easyrp.client.basic.util.GitServiceClient

   */
  public String verifyAssertion(GitCallbackRequest request) {
    Preconditions.checkArgument(!Strings.isNullOrEmpty(request.getRequestUri()));
    String ret = "error";
    try {
      GitServiceClient apiClient = Context.getGitServiceClient();
      JSONObject idpAssertion = apiClient.verifyResponse(request.getRequestUri(), null);
      request.setIdpAssertion(idpAssertion);
      if (idpAssertion != null) {
        if (idpAssertion.has("trusted")) {
          request.setIdentifier(idpAssertion.getString("email"));
          ret = idpAssertion.getBoolean("trusted") ? "trusted" : "untrusted";
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.