friendship ended with social-app. php is my new best friend
1<?php 2/** 3 * Interface OAuth1Interface 4 * 5 * @created 09.07.2017 6 * @author Smiley <smiley@chillerlan.net> 7 * @copyright 2017 Smiley 8 * @license MIT 9 */ 10declare(strict_types=1); 11 12namespace chillerlan\OAuth\Core; 13 14/** 15 * Specifies the basic methods for an OAuth1 provider. 16 */ 17interface OAuth1Interface extends OAuthInterface{ 18 19 /** 20 * Obtains an OAuth1 access token with the given $token and $verifier and returns an AccessToken object. 21 * 22 * The $token (request token) supplied via `$_GET['oauth_token']` should be in the storage at this point. 23 * 24 * @link https://datatracker.ietf.org/doc/html/rfc5849#section-2.3 25 */ 26 public function getAccessToken(string $requestToken, string $verifier):AccessToken; 27 28}