Package org.brickred.socialauth.oauthstrategy

Examples of org.brickred.socialauth.oauthstrategy.OAuth1


    ENDPOINTS.put(Constants.OAUTH_REQUEST_TOKEN_URL,"http://www.douban.com/service/auth/request_token");
    ENDPOINTS.put(Constants.OAUTH_AUTHORIZATION_URL,"http://www.douban.com/service/auth/authorize");
    ENDPOINTS.put(Constants.OAUTH_ACCESS_TOKEN_URL, "http://www.douban.com/service/auth/access_token");
    AllPerms = new String[] {};
    AuthPerms = new String[] {};
    authenticationStrategy = new OAuth1(config, ENDPOINTS);
    authenticationStrategy.setPermission(scope);
    authenticationStrategy.setScope(getScope());

    PROFILE_URL = "http://api.douban.com/people/%40me";
   
View Full Code Here

TOP

Related Classes of org.brickred.socialauth.oauthstrategy.OAuth1

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.