index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
commit | 6854cb3f4d8219cf1829e32122eb2502a916eae9 (patch) | |
tree | 350feb504587d932e02837a1442b059759927646 /vendor/league/oauth2-client/src/Provider/ProviderInterface.php |
-rw-r--r-- | vendor/league/oauth2-client/src/Provider/ProviderInterface.php | 36 |
diff --git a/vendor/league/oauth2-client/src/Provider/ProviderInterface.php b/vendor/league/oauth2-client/src/Provider/ProviderInterface.php new file mode 100644 index 0000000..efe6087 --- /dev/null +++ b/vendor/league/oauth2-client/src/Provider/ProviderInterface.php @@ -0,0 +1,36 @@ +<?php + +namespace League\OAuth2\Client\Provider; + +use League\OAuth2\Client\Token\AccessToken as AccessToken; + +interface ProviderInterface +{ + public function urlAuthorize(); + + public function urlAccessToken(); + + public function urlUserDetails(AccessToken $token); + + public function userDetails($response, AccessToken $token); + + public function getScopes(); + + public function setScopes(array $scopes); + + public function getAuthorizationUrl($options = []); + + public function authorize($options = []); + + public function getAccessToken($grant = 'authorization_code', $params = []); + + public function getHeaders($token = null); + + public function getUserDetails(AccessToken $token); + + public function getUserUid(AccessToken $token); + + public function getUserEmail(AccessToken $token); + + public function getUserScreenName(AccessToken $token); +} |