OAuthOAuth1TokenStdOAuth1Token

Standard OAuth1 token implementation.

Defined (1)

The class is defined in the following location(s).

/lib/PHPoAuthLib/src/OAuth/OAuth1/Token/StdOAuth1Token.php  
  1. class StdOAuth1Token extends AbstractToken implements TokenInterface 
  2. /** 
  3. * @var string 
  4. */ 
  5. protected $requestToken; 
  6.  
  7. /** 
  8. * @var string 
  9. */ 
  10. protected $requestTokenSecret; 
  11.  
  12. /** 
  13. * @var string 
  14. */ 
  15. protected $accessTokenSecret; 
  16.  
  17. /** 
  18. * @param string $requestToken 
  19. */ 
  20. public function setRequestToken($requestToken) 
  21. $this->requestToken = $requestToken; 
  22.  
  23. /** 
  24. * @return string 
  25. */ 
  26. public function getRequestToken() 
  27. return $this->requestToken; 
  28.  
  29. /** 
  30. * @param string $requestTokenSecret 
  31. */ 
  32. public function setRequestTokenSecret($requestTokenSecret) 
  33. $this->requestTokenSecret = $requestTokenSecret; 
  34.  
  35. /** 
  36. * @return string 
  37. */ 
  38. public function getRequestTokenSecret() 
  39. return $this->requestTokenSecret; 
  40.  
  41. /** 
  42. * @param string $accessTokenSecret 
  43. */ 
  44. public function setAccessTokenSecret($accessTokenSecret) 
  45. $this->accessTokenSecret = $accessTokenSecret; 
  46.  
  47. /** 
  48. * @return string 
  49. */ 
  50. public function getAccessTokenSecret() 
  51. return $this->accessTokenSecret;