Web Services
简介
Web Services
PHP Manual
OAuth
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
范例
FireEagle
OAuth 函数
oauth_get_sbs
— Generate a Signature Base String
oauth_urlencode
— Encode a URI to RFC 3986
OAuth
— The OAuth class
OAuth::__construct
— Create a new OAuth object
OAuth::__destruct
— The destructor
OAuth::disableDebug
— Turn off verbose debugging
OAuth::disableRedirects
— Turn off redirects
OAuth::disableSSLChecks
— Turn off SSL checks
OAuth::enableDebug
— Turn on verbose debugging
OAuth::enableRedirects
— Turn on redirects
OAuth::enableSSLChecks
— Turn on SSL checks
OAuth::fetch
— Fetch an OAuth protected resource
OAuth::getAccessToken
— Fetch an access token
OAuth::getCAPath
— Gets CA information
OAuth::getLastResponse
— Get the last response
OAuth::getLastResponseInfo
— Get HTTP information about the last response
OAuth::getRequestToken
— Fetch a request token
OAuth::setAuthType
— Set authorization type
OAuth::setCAPath
— Set CA path and info
OAuth::setNonce
— Set the nonce for subsequent requests
OAuth::setRequestEngine
— The setRequestEngine purpose
OAuth::setRSACertificate
— Set the RSA certificate
OAuth::setTimestamp
— Set the timestamp
OAuth::setToken
— Sets the token and secret
OAuth::setVersion
— Set the OAuth version
OAuthProvider
— The OAuthProvider class
OAuthProvider::addRequiredParameter
— Add required parameters
OAuthProvider::callconsumerHandler
— Calls the consumerNonceHandler callback
OAuthProvider::callTimestampNonceHandler
— Calls the timestampNonceHandler callback
OAuthProvider::calltokenHandler
— Calls the tokenNonceHandler callback
OAuthProvider::checkOAuthRequest
— Check an oauth request
OAuthProvider::__construct
— Constructs a new OAuthProvider object
OAuthProvider::consumerHandler
— Set the consumerHandler handler callback
OAuthProvider::generateToken
— Generate a random token
OAuthProvider::is2LeggedEndpoint
— is2LeggedEndpoint
OAuthProvider::isRequestTokenEndpoint
— Sets isRequestTokenEndpoint
OAuthProvider::removeRequiredParameter
— Remove a required parameter
OAuthProvider::reportProblem
— Report a problem
OAuthProvider::setParam
— Set a parameter
OAuthProvider::setRequestTokenPath
— Set request token path
OAuthProvider::timestampNonceHandler
— Set the timestampNonceHandler handler callback
OAuthProvider::tokenHandler
— Set the tokenHandler handler callback
OAuthException
— OAuthException class
Web Services
简介
Web Services
PHP Manual