Package org.springframework.social.oauth2

Examples of org.springframework.social.oauth2.OAuth2RequestInterceptor


class FakeServiceProvider implements OAuth2ServiceProvider<FakeApi> {

  private OAuth2Template oAuth2Template;

  public FakeServiceProvider(String clientId, String clientSecret) {
    oAuth2Template = new OAuth2Template(clientId, clientSecret, "http://fake/auth", "http://fake/access");
   
  }
View Full Code Here


     * @param consumerKey - Alfresco Api Key
     * @param consumerSecret - Alfresco Key Secret
     */
    public AlfrescoServiceProvider(String consumerKey, String consumerSecret)
    {
        super(new OAuth2Template(consumerKey, consumerSecret, "https://api.alfresco.com/auth/oauth/versions/2/authorize", "https://api.alfresco.com/auth/oauth/versions/2/token"));
    }
View Full Code Here

TOP

Related Classes of org.springframework.social.oauth2.OAuth2RequestInterceptor

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.