Ces constantes sont définies par cette extension, et ne sont disponibles que si cette extension a été compilée avec PHP, ou bien chargée au moment de l'exécution.
La plupart de ces constantes impliquent des problèmes décrits dans la documentation officiels de » rapport de problèmes d'OAuth. Notez cependant que les noms des constantes sont spécifiques à PHP, malgré le fait que le schéma de nommage est similaire.
OAUTH_SIG_METHOD_RSASHA1
     (string)
    OAUTH_SIG_METHOD_HMACSHA1
     (string)
    Méthode de signature OAuth HMAC-SHA1.
OAUTH_SIG_METHOD_HMACSHA256
     (string)
    
      Cette constante représente l'entête Authorization.
     
OAUTH_AUTH_TYPE_NONE
     (string)
    
      Cette constante indique une requête NoAuth OAuth.
     
OAUTH_AUTH_TYPE_URI
     (string)
    Cette constante représente les paramètres OAuth dans l'URI de requête.
OAUTH_AUTH_TYPE_FORM
     (string)
    Cette constante représente les paramètres OAuth comme une partie du corps HTTP POST.
OAUTH_HTTP_METHOD_GET
     (string)
    Utilise la méthode GET pour la requête OAuth.
OAUTH_HTTP_METHOD_POST
     (string)
    Utilise la méthode POST pour la requête OAuth.
OAUTH_HTTP_METHOD_PUT
     (string)
    Utilise la méthode PUT pour la requête OAuth.
OAUTH_HTTP_METHOD_HEAD
     (string)
    Utilise la méthode HEAD pour la requête OAuth.
OAUTH_HTTP_METHOD_DELETE
     (string)
    OAUTH_REQENGINE_STREAMS
     (int)
    OAUTH_REQENGINE_CURL pour
      Curl.
     
    OAUTH_REQENGINE_CURL
     (int)
    OAUTH_REQENGINE_STREAMS pour
      les flux PHP.
     
    OAUTH_OK
     (int)
    OAUTH_BAD_NONCE
     (int)
    OAUTH_BAD_TIMESTAMP
     (int)
    OAUTH_CONSUMER_KEY_UNKNOWN
     (int)
    OAUTH_CONSUMER_KEY_REFUSED
     (int)
    OAUTH_INVALID_SIGNATURE
     (int)
    OAUTH_TOKEN_USED
     (int)
    OAUTH_TOKEN_EXPIRED
     (int)
    OAUTH_TOKEN_REVOKED
     (int)
    OAUTH_TOKEN_REJECTED
     (int)
    OAUTH_VERIFIER_INVALID
     (int)
    OAUTH_PARAMETER_ABSENT
     (int)
    OAUTH_SIGNATURE_METHOD_REJECTED
     (int)