Client
class Client extends Client implements OAuthInterface
Constants
| TYPE |
|
| API_URL |
|
| URL |
|
| POST_URL |
|
Properties
| $state | from Client | ||
| $clientId | |||
| $clientSecret | |||
| $callbackUrl | |||
| $curl |
Methods
__construct($config, Curl $curl)
No description
string
getLoginUrl(string|null $state)
No description
array
getAccessToken(string $code, string|null $state, bool $raw = false)
No description
array
getTokenByRefreshToken($refreshToken)
No description
array
parseTokenResult($json)
解析服务器返回的结果.
Details
at line 29
__construct($config, Curl $curl)
at line 37
string
getLoginUrl(string|null $state)
at line 48
array
getAccessToken(string $code, string|null $state, bool $raw = false)
at line 71
array
getTokenByRefreshToken($refreshToken)
at line 89
array
parseTokenResult($json)
解析服务器返回的结果.