OAuthTestMocksOAuth1ServiceMock

The Gravity Forms Salesforce Add-On OAuthTest Mocks OAuth1 Service Mock class.

Defined (1)

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

/lib/PHPoAuthLib/tests/Mocks/OAuth1/Service/Mock.php  
  1. class Mock extends AbstractService 
  2. public function getRequestTokenEndpoint() 
  3. return new Uri('http://pieterhordijk.com/token'); 
  4.  
  5. public function getAuthorizationEndpoint() 
  6. return new Uri('http://pieterhordijk.com/auth'); 
  7.  
  8. public function getAccessTokenEndpoint() 
  9. return new Uri('http://pieterhordijk.com/access'); 
  10.  
  11. protected function parseRequestTokenResponse($responseBody) 
  12. return new StdOAuth1Token(); 
  13.  
  14. protected function parseAccessTokenResponse($responseBody) 
  15. return new StdOAuth1Token();