[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/carlos-mg89/oauth/src/OAuth/OAuth1/Service/ -> ServiceInterface.php (source)

   1  <?php
   2  
   3  namespace OAuth\OAuth1\Service;
   4  
   5  use OAuth\Common\Http\Uri\UriInterface;
   6  use OAuth\Common\Service\ServiceInterface as BaseServiceInterface;
   7  use OAuth\Common\Token\TokenInterface;
   8  
   9  /**
  10   * Defines the common methods across OAuth 1 services.
  11   */
  12  interface ServiceInterface extends BaseServiceInterface
  13  {
  14      /**
  15       * Retrieves and stores/returns the OAuth1 request token obtained from the service.
  16       *
  17       * @return TokenInterface $token
  18       */
  19      public function requestRequestToken();
  20  
  21      /**
  22       * Retrieves and stores/returns the OAuth1 access token after a successful authorization.
  23       *
  24       * @param string $token       the request token from the callback
  25       * @param string $verifier
  26       * @param string $tokenSecret
  27       *
  28       * @return TokenInterface $token
  29       */
  30      public function requestAccessToken($token, $verifier, $tokenSecret);
  31  
  32      /**
  33       * @return UriInterface
  34       */
  35      public function getRequestTokenEndpoint();
  36  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1