OAuth
PHP Manual

Stałe predefiniowane

Poniższe stałe są zdefiniowane w tym rozszerzeniu i stają się dostępne, gdy rozszerzenie jest dokompilowane z PHP, lub załadowane dynamicznie przy starcie.

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