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

Examples of com.ibm.sbt.opensocial.domino.oauth.clients.ConnectionsOAuth2Client


    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

TOP

Related Classes of com.ibm.sbt.opensocial.domino.oauth.clients.ConnectionsOAuth2Client

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.