com.paypal.core.credential
Class TokenAuthorization

java.lang.Object
  extended by com.paypal.core.credential.TokenAuthorization
All Implemented Interfaces:
ThirdPartyAuthorization

public class TokenAuthorization
extends Object
implements ThirdPartyAuthorization

TokenAuthorization encapsulates third party token authorization. Used for MERCHANT or PLATFORM APIs


Constructor Summary
TokenAuthorization(String accessToken, String tokenSecret)
          Token based third party authorization used in MERCHANT or PLATFORM APIs
 
Method Summary
 String getAccessToken()
           
 String getTokenSecret()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenAuthorization

public TokenAuthorization(String accessToken,
                          String tokenSecret)
Token based third party authorization used in MERCHANT or PLATFORM APIs

Parameters:
accessToken - Access Token
tokenSecret - Token Secret
Method Detail

getAccessToken

public String getAccessToken()
Returns:
the accessToken

getTokenSecret

public String getTokenSecret()
Returns:
the tokenSecret


Copyright © 2015. All Rights Reserved.