OAuth
PHP Manual

Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

OAUTH_SIG_METHOD_HMACSHA1 (string)

OAuth HMAC-SHA1 signature method

OAUTH_AUTH_TYPE_AUTHORIZATION (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
PHP Manual