프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$response |
메소드 | 설명 | |
---|---|---|
__construct ( $client_id = false, $client_secret = false, $redirect_uri = '', $compressed = false ) | -- | |
api ( $url, $method = "GET", $parameters = [], $decode_json = true ) | Format and sign an oauth for provider api | |
authenticate ( $code ) | ||
authenticated ( ) | ||
authorizeUrl ( $extras = [] ) | ||
delete ( $url, $parameters = [] ) | DELETE wrapper for provider apis request | |
get ( $url, $parameters = [], $decode_json = true ) | GET wrapper for provider apis request | |
getResponse ( ) : mixed | Return the response object afer the fact | |
patch ( $url, $parameters = [] ) | PATCH wrapper for provider apis request | |
post ( $url, $parameters = [], $decode_json = true ) | POST wrapper for provider apis request | |
refreshToken ( $parameters = [] ) | ||
tokenInfo ( $accesstoken ) | -- tokens |
메소드 | 설명 | |
---|---|---|
parseRequestResult ( $result ) | ||
request ( $url, $params = false, $type = "GET" ) | -- utilities |
public __construct ( $client_id = false, $client_secret = false, $redirect_uri = '', $compressed = false ) |
public api ( $url, $method = "GET", $parameters = [], $decode_json = true ) |
public get ( $url, $parameters = [], $decode_json = true ) |
public getResponse ( ) : mixed | ||
리턴 | mixed |
public post ( $url, $parameters = [], $decode_json = true ) |