Package com.ibm.sbt.opensocial.domino.oauth

Examples of com.ibm.sbt.opensocial.domino.oauth.DominoOAuth2Client


    clients.put(connectionsServiceName, createConnectionsClient(fieldMap));
    clients.put(googleServiceName, createGoogleClient(fieldMap));
  }
 
  private DominoOAuth2Client createConnectionsClient(Map<String, String> fieldMap) {
    DominoOAuth2Client client = new ConnectionsOAuth2Client(StringUtils.trim(fieldMap.get(SbtConstants.CON_OA2_AUTHORIZATIONURL)),
        StringUtils.trim(fieldMap.get(SbtConstants.CON_OA2_ACCESSTOKENURL)),
        StringUtils.trim(fieldMap.get(SbtConstants.CON_GADGET_OA2_CONSUMERKEY)),
        StringUtils.trim(fieldMap.get(SbtConstants.CON_GADGET_OA2_CONSUMERSECRET)));
    return client;
  }
View Full Code Here


        StringUtils.trim(fieldMap.get(SbtConstants.CON_GADGET_OA2_CONSUMERSECRET)));
    return client;
  }
 
  private DominoOAuth2Client createGoogleClient(Map<String, String> fieldMap) {
    DominoOAuth2Client client = new GoogleOAuth2Client(StringUtils.trim(fieldMap.get(SbtConstants.GOOGLE_GADGET_OA_CONSUMERKEY)),
        StringUtils.trim(fieldMap.get(SbtConstants.GOOGLE_GADGET_OA_CONSUMERSECRET)));
    return client;
  }
View Full Code Here

TOP

Related Classes of com.ibm.sbt.opensocial.domino.oauth.DominoOAuth2Client

Copyright © 2018 www.massapicom. 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.