Folgende Konstanten werden von dieser Erweiterung definiert und stehen nur zur Verfügung, wenn die Erweiterung entweder statisch in PHP kompiliert oder dynamisch zur Laufzeit geladen wurde.
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)