The signature methods available as of oauth-1.2.3 are:
OAUTH_SIG_METHOD_HMACSHA1
OAUTH_SIG_METHOD_HMACSHA256
OAUTH_SIG_METHOD_RSASHA1
OAUTH_SIG_METHOD_PLAINTEXT
(PECL OAuth >= 0.99.1)
OAuth::__construct — Create a new OAuth object
$consumer_key
,$consumer_secret
,$signature_method
= OAUTH_SIG_METHOD_HMACSHA1
,$auth_type
= 0Creates a new OAuth object
consumer_key
The consumer key provided by the service provider.
consumer_secret
The consumer secret provided by the service provider.
signature_method
This optional parameter defines which signature method to use, by default it is OAUTH_SIG_METHOD_HMACSHA1
(HMAC-SHA1).
auth_type
This optional parameter defines how to pass the OAuth parameters
to a consumer, by default it is
OAUTH_AUTH_TYPE_AUTHORIZATION
(in the
Authorization
header).
The signature methods available as of oauth-1.2.3 are:
OAUTH_SIG_METHOD_HMACSHA1
OAUTH_SIG_METHOD_HMACSHA256
OAUTH_SIG_METHOD_RSASHA1
OAUTH_SIG_METHOD_PLAINTEXT
The authorization type enums as of oauth-1.2.3 are
OAUTH_AUTH_TYPE_AUTHORIZATION
OAUTH_AUTH_TYPE_URI
OAUTH_AUTH_TYPE_FORM
OAUTH_AUTH_TYPE_NONE
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant