Oihana PHP Enums

OAuthParameters uses ConstantsTrait

Standard OAuth 1.0a parameter keys.

Provides type-safe constants for use in generating OAuth headers and signatures.

Table of Contents

Constants

OAUTH_CONSUMER_KEY  : string = 'oauth_consumer_key'
The consumer key.
OAUTH_NONCE  : string = 'oauth_nonce'
A unique nonce for each request.
OAUTH_SIGNATURE  : string = 'oauth_signature'
The generated signature.
OAUTH_SIGNATURE_METHOD  : string = 'oauth_signature_method'
The signature method (HMAC-SHA1, HMAC-SHA256, PLAINTEXT, RSA-SHA1).
OAUTH_TIMESTAMP  : string = 'oauth_timestamp'
The timestamp of the request.
OAUTH_TOKEN  : string = 'oauth_token'
The access token.
OAUTH_VERSION  : string = 'oauth_version'
The OAuth version (usually "1.0").

Constants

OAUTH_CONSUMER_KEY

The consumer key.

public string OAUTH_CONSUMER_KEY = 'oauth_consumer_key'

OAUTH_NONCE

A unique nonce for each request.

public string OAUTH_NONCE = 'oauth_nonce'

OAUTH_SIGNATURE

The generated signature.

public string OAUTH_SIGNATURE = 'oauth_signature'

OAUTH_SIGNATURE_METHOD

The signature method (HMAC-SHA1, HMAC-SHA256, PLAINTEXT, RSA-SHA1).

public string OAUTH_SIGNATURE_METHOD = 'oauth_signature_method'

OAUTH_TIMESTAMP

The timestamp of the request.

public string OAUTH_TIMESTAMP = 'oauth_timestamp'

OAUTH_TOKEN

The access token.

public string OAUTH_TOKEN = 'oauth_token'

OAUTH_VERSION

The OAuth version (usually "1.0").

public string OAUTH_VERSION = 'oauth_version'
On this page

Search results