Buradaki sabitler bu eklenti için tanımlanmış olup, sadece eklentinin PHP içinde derlenmiş olması veya çalışma anında dinamik olarak yüklenmesi halinde kullanılabilir.
Most of these constants involve problems, which are also described within the official OAuth » Problem Reporting documentation. Note however, that these constant names are specific to PHP, although the naming scheme is similar.
OAUTH_SIG_METHOD_RSASHA1
(string)
OAUTH_SIG_METHOD_HMACSHA1
(string)
OAuth HMAC-SHA1 signature method.
OAUTH_SIG_METHOD_HMACSHA256
(string)
This constant represents putting OAuth parameters in the
Authorization
header.
OAUTH_AUTH_TYPE_NONE
(string)
This constant indicates a NoAuth OAuth request.
OAUTH_AUTH_TYPE_URI
(string)
This constant represents putting OAuth parameters in the request URI.
OAUTH_AUTH_TYPE_FORM
(string)
This constant represents putting OAuth parameters as part of the HTTP POST body.
OAUTH_HTTP_METHOD_GET
(string)
Use the GET method for the OAuth request.
OAUTH_HTTP_METHOD_POST
(string)
Use the POST method for the OAuth request.
OAUTH_HTTP_METHOD_PUT
(string)
Use the PUT method for the OAuth request.
OAUTH_HTTP_METHOD_HEAD
(string)
Use the HEAD method for the OAuth request.
OAUTH_HTTP_METHOD_DELETE
(string)
OAUTH_REQENGINE_STREAMS
(int)
OAUTH_REQENGINE_CURL
for
Curl.
OAUTH_REQENGINE_CURL
(int)
OAUTH_REQENGINE_STREAMS
for PHP streams.
OAUTH_OK
(int)
OAUTH_BAD_NONCE
(int)
OAUTH_BAD_TIMESTAMP
(int)
OAUTH_CONSUMER_KEY_UNKNOWN
(int)
OAUTH_CONSUMER_KEY_REFUSED
(int)
OAUTH_INVALID_SIGNATURE
(int)
OAUTH_TOKEN_USED
(int)
OAUTH_TOKEN_EXPIRED
(int)
OAUTH_TOKEN_REVOKED
(int)
OAUTH_TOKEN_REJECTED
(int)
OAUTH_VERIFIER_INVALID
(int)
OAUTH_PARAMETER_ABSENT
(int)
OAUTH_SIGNATURE_METHOD_REJECTED
(int)