PHP Class Podio

Afficher le fichier Open project: podio/podio-php Class Usage Examples

Méthodes publiques

Свойство Type Description
$auth_type
$debug
$last_response
$logger
$oauth
$session_manager

Protected Properties

Свойство Type Description
$ch
$client_id
$client_secret
$headers
$secret
$url

Méthodes publiques

Méthode Description
authenticate ( $grant_type, $attributes )
authenticate_with_app ( $app_id, $app_token )
authenticate_with_authorization_code ( $authorization_code, $redirect_uri )
authenticate_with_password ( $username, $password )
authorize_url ( $redirect_uri, $scope )
clear_authentication ( )
curl_headers ( )
delete ( $url, $attributes = [] )
encode_attributes ( $attributes )
get ( $url, $attributes = [], $options = [] )
is_authenticated ( )
log_request ( $method, $url, $encoded_attributes, $response, $curl_info )
parse_headers ( $headers )
post ( $url, $attributes = [], $options = [] )
put ( $url, $attributes = [] )
rate_limit ( )
rate_limit_remaining ( )
refresh_access_token ( )
request ( $method, $url, $attributes = [], $options = [] )
set_debug ( $toggle, $output = "stdout" ) Set debug config
setup ( $client_id, $client_secret, $options = ['session_manager' => null, 'curl_options' => []] )
shutdown ( )
url_with_options ( $url, $options )

Method Details

authenticate() public static méthode

public static authenticate ( $grant_type, $attributes )

authenticate_with_app() public static méthode

public static authenticate_with_app ( $app_id, $app_token )

authenticate_with_authorization_code() public static méthode

public static authenticate_with_authorization_code ( $authorization_code, $redirect_uri )

authenticate_with_password() public static méthode

public static authenticate_with_password ( $username, $password )

authorize_url() public static méthode

public static authorize_url ( $redirect_uri, $scope )

clear_authentication() public static méthode

public static clear_authentication ( )

curl_headers() public static méthode

public static curl_headers ( )

delete() public static méthode

public static delete ( $url, $attributes = [] )

encode_attributes() public static méthode

public static encode_attributes ( $attributes )

get() public static méthode

public static get ( $url, $attributes = [], $options = [] )

is_authenticated() public static méthode

public static is_authenticated ( )

log_request() public static méthode

public static log_request ( $method, $url, $encoded_attributes, $response, $curl_info )

parse_headers() public static méthode

public static parse_headers ( $headers )

post() public static méthode

public static post ( $url, $attributes = [], $options = [] )

put() public static méthode

public static put ( $url, $attributes = [] )

rate_limit() public static méthode

public static rate_limit ( )

rate_limit_remaining() public static méthode

public static rate_limit_remaining ( )

refresh_access_token() public static méthode

public static refresh_access_token ( )

request() public static méthode

public static request ( $method, $url, $attributes = [], $options = [] )

set_debug() public static méthode

Set debug config
public static set_debug ( $toggle, $output = "stdout" )
$toggle True to enable debugging. False to disable
$output Output mode. Can be "stdout" or "file". Default is "stdout"

setup() public static méthode

public static setup ( $client_id, $client_secret, $options = ['session_manager' => null, 'curl_options' => []] )

shutdown() public static méthode

public static shutdown ( )

url_with_options() public static méthode

public static url_with_options ( $url, $options )

Property Details

$auth_type public_oe static_oe property

public static $auth_type

$ch protected_oe static_oe property

protected static $ch

$client_id protected_oe static_oe property

protected static $client_id

$client_secret protected_oe static_oe property

protected static $client_secret

$debug public_oe static_oe property

public static $debug

$headers protected_oe static_oe property

protected static $headers

$last_response public_oe static_oe property

public static $last_response

$logger public_oe static_oe property

public static $logger

$oauth public_oe static_oe property

public static $oauth

$secret protected_oe static_oe property

protected static $secret

$session_manager public_oe static_oe property

public static $session_manager

$url protected_oe static_oe property

protected static $url