PHP
The OAuth class
The OAuth class
(No version information available, might only be in Git)
Introduction
The OAuth extension provides a simple interface to interact with data providers using the OAuth HTTP specification to protect private resources.
Class synopsis
OAuth {
public __construct (
string $consumer_key
,
string $consumer_secret
[,
string $signature_method
= OAUTH_SIG_METHOD_HMACSHA1
[,
int $auth_type
= 0 ]] )
public mixed fetch (
string $protected_resource_url
[,
array $extra_parameters
[,
string $http_method
[,
array $http_headers
]]] )
public array getAccessToken (
string $access_token_url
[,
string $auth_session_handle
[,
string $verifier_token
]] )
public array getRequestToken (
string $request_token_url
[,
string $callback_url
] )
public mixed setCAPath ([
string $ca_path
[,
string $ca_info
]] )
public bool setToken (
string $token
,
string $token_secret
)
}
Properties
- debug
-
- sslChecks
-
- debugInfo
-
Table of Contents
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 214 / 159132908. Delta: 0.04199 с