OAuthSignatureMethod uses ConstantsTrait
Enumeration of OAuth 1.0a signature methods.
Provides type-safe constants for oauth_signature_method values.
Table of Contents
Constants
- HMAC_SHA1 : string = 'HMAC-SHA1'
- HMAC using SHA-1 hash algorithm.
- HMAC_SHA256 : string = 'HMAC-SHA256'
- HMAC using SHA-256 hash algorithm.
- PLAINTEXT : string = 'PLAINTEXT'
- Plaintext (insecure, only for trusted HTTPS connections).
- RSA_SHA1 : string = 'RSA-SHA1'
- RSA with SHA-1 (requires private/public key pair).
Constants
HMAC_SHA1
HMAC using SHA-1 hash algorithm.
public
string
HMAC_SHA1
= 'HMAC-SHA1'
HMAC_SHA256
HMAC using SHA-256 hash algorithm.
public
string
HMAC_SHA256
= 'HMAC-SHA256'
PLAINTEXT
Plaintext (insecure, only for trusted HTTPS connections).
public
string
PLAINTEXT
= 'PLAINTEXT'
RSA_SHA1
RSA with SHA-1 (requires private/public key pair).
public
string
RSA_SHA1
= 'RSA-SHA1'