Константи, описані нижче — визначені цим розширенням, тож доступні, коли розширення скомпільовано як частина PHP або динамічно підключене під час виконання.
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_SIG_METHOD_HMACSHA256
(string)
Authorization header.
OAUTH_AUTH_TYPE_NONE
(string)
OAUTH_AUTH_TYPE_URI
(string)
OAUTH_AUTH_TYPE_FORM
(string)
OAUTH_HTTP_METHOD_GET
(string)
OAUTH_HTTP_METHOD_POST
(string)
OAUTH_HTTP_METHOD_PUT
(string)
OAUTH_HTTP_METHOD_HEAD
(string)
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)