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

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


    clients.put(StringUtils.defaultIfBlank(fieldMap.get(SbtConstants.DROPBOX_GADGET_OA_SERVICE_NAME), SbtConstants.DEFAULT_DROPBOX_SERVICE_NAME),
        createDropBoxClient(fieldMap));
  }

  private DominoOAuthClient createDropBoxClient(Map<String, String> fieldMap) {
    DominoOAuthClient client = new DropBoxOAuthClient(StringUtils.trim(fieldMap.get(SbtConstants.DROPBOX_OA_CONSUMERKEY)),
        StringUtils.trim(fieldMap.get(SbtConstants.DROPBOX_OA_CONSUMERSECRET)));
    return client;
  }
View Full Code Here


        StringUtils.trim(fieldMap.get(SbtConstants.DROPBOX_OA_CONSUMERSECRET)));
    return client;
  }
 
  private DominoOAuthClient createSmartCloudClient(Map<String, String> fieldMap) {
    DominoOAuthClient client = new SmartCloudOAuthClient(StringUtils.trim(fieldMap.get(SbtConstants.SMA_OA_COUNSUMERKEY)),
        StringUtils.trim(fieldMap.get(SbtConstants.SMA_OA_CONSUMERSECRET)));
    return client;
  }
View Full Code Here

TOP

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

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.