Package org.opensocial.auth.OAuth3LeggedScheme

Examples of org.opensocial.auth.OAuth3LeggedScheme.Token


  @Before
  public void setUp() throws Exception {
    if (client.getAuthScheme() instanceof OAuth3LeggedScheme) {
      OAuth3LeggedScheme scheme = (OAuth3LeggedScheme) client.getAuthScheme();
      // for 3-legged OAuth, ignore the process to get access token
      Token token = new Token("key", "secret");
      scheme.setAccessToken(token);
    }

    clear();
  }
View Full Code Here

TOP

Related Classes of org.opensocial.auth.OAuth3LeggedScheme.Token

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.