QOAuth  1.0.1
Namespaces | Constant Groups | Typedefs | Enumerations | Functions
qoauth_namespace.h File Reference
#include <QMultiMap>
#include <QByteArray>
#include "qoauth_global.h"

Go to the source code of this file.

Namespaces

 QOAuth
 This namespace encapsulates all classes and definitions provided by libqoauth.
 

Constant Groups

 QOAuth
 This namespace encapsulates all classes and definitions provided by libqoauth.
 

Typedefs

typedef QMultiMap< QByteArray,
QByteArray > 
QOAuth::ParamMap
 A typedef for the data structure for storing request parameters.
 

Enumerations

enum  QOAuth::SignatureMethod { QOAuth::HMAC_SHA1, QOAuth::RSA_SHA1, QOAuth::PLAINTEXT }
 This enum type describes the signature method used by the request. More...
 
enum  QOAuth::HttpMethod {
  QOAuth::GET, QOAuth::POST, QOAuth::HEAD, QOAuth::PUT,
  QOAuth::DELETE
}
 This enum type specifies the HTTP method used for creating a Signature Base String and/or sending a request. More...
 
enum  QOAuth::ParsingMode { QOAuth::ParseForRequestContent, QOAuth::ParseForInlineQuery, QOAuth::ParseForHeaderArguments, QOAuth::ParseForSignatureBaseString }
 This enum type specifies the method of parsing parameters into a parameter string. More...
 
enum  QOAuth::ErrorCode {
  QOAuth::NoError = 200, QOAuth::BadRequest = 400, QOAuth::Unauthorized = 401, QOAuth::Forbidden = 403,
  QOAuth::Timeout = 1001, QOAuth::ConsumerKeyEmpty, QOAuth::ConsumerSecretEmpty, QOAuth::UnsupportedHttpMethod,
  QOAuth::RSAPrivateKeyEmpty = 1101, QOAuth::RSADecodingError, QOAuth::RSAKeyFileError, QOAuth::OtherError
}
 This enum type defines error types that are assigned to the QOAuth::Interface::error property. More...
 

Functions

QOAUTH_EXPORT QByteArray QOAuth::supportedOAuthVersion ()
 Returns the supported OAuth protocol version.
 
QOAUTH_EXPORT QByteArray QOAuth::tokenParameterName ()
 Returns the name of the Access Token argument parameter (oauth_token in current implementation) More...
 
QOAUTH_EXPORT QByteArray QOAuth::tokenSecretParameterName ()
 Returns the name of the Token Secret argument parameter (oauth_token_secret in current implementation) More...
 

Detailed Description

This file is a part of libqoauth. You should not include it directly in your application. Instead please use #include <QtOAuth>.