Go to the documentation of this file.
28 #ifndef QOAUTH_NAMESPACE_H
29 #define QOAUTH_NAMESPACE_H
46 typedef QMultiMap<QByteArray,QByteArray>
ParamMap;
180 #endif // QOAUTH_NAMESPACE_H
@ HEAD
Sets the HTTP method to HEAD.
Definition: qoauth_namespace.h:83
@ BadRequest
Represents HTTP status code 400 (Bad Request)
Definition: qoauth_namespace.h:126
@ ParseForSignatureBaseString
Signature Base String format, meant for internal use.
Definition: qoauth_namespace.h:111
QOAUTH_EXPORT QByteArray tokenSecretParameterName()
Returns the name of the Token Secret argument parameter (oauth_token_secret in current implementation...
Definition: interface.cpp:188
@ HMAC_SHA1
Sets the signature method to HMAC-SHA1.
Definition: qoauth_namespace.h:60
@ DELETE
Sets the HTTP method to DELETE.
Definition: qoauth_namespace.h:86
@ Unauthorized
Represents HTTP status code 401 (Unauthorized)
Definition: qoauth_namespace.h:127
@ Timeout
Represents a request timeout error.
Definition: qoauth_namespace.h:129
ErrorCode
This enum type defines error types that are assigned to the QOAuth::Interface::error property.
Definition: qoauth_namespace.h:124
QOAUTH_EXPORT QByteArray supportedOAuthVersion()
Returns the supported OAuth protocol version.
Definition: interface.cpp:178
@ ParseForRequestContent
Inline query format (foo=bar&bar=baz&baz=foo ...), suitable for POST requests.
Definition: qoauth_namespace.h:107
@ RSADecodingError
Definition: qoauth_namespace.h:139
@ POST
Sets the HTTP method to POST.
Definition: qoauth_namespace.h:82
@ PLAINTEXT
Sets the signature method to PLAINTEXT (not implemented yet)
Definition: qoauth_namespace.h:62
@ ParseForHeaderArguments
HTTP request header format (parameters to be put inside a request header)
Definition: qoauth_namespace.h:110
@ RSAPrivateKeyEmpty
RSA private key has not been provided.
Definition: qoauth_namespace.h:137
@ RSA_SHA1
Sets the signature method to RSA-SHA1 (not implemented yet)
Definition: qoauth_namespace.h:61
@ ConsumerSecretEmpty
Consumer secret has not been provided.
Definition: qoauth_namespace.h:131
@ ConsumerKeyEmpty
Consumer key has not been provided.
Definition: qoauth_namespace.h:130
SignatureMethod
This enum type describes the signature method used by the request.
Definition: qoauth_namespace.h:59
@ OtherError
A network-related error not specified above.
Definition: qoauth_namespace.h:142
@ UnsupportedHttpMethod
Definition: qoauth_namespace.h:132
@ Forbidden
Represents HTTP status code 403 (Forbidden)
Definition: qoauth_namespace.h:128
@ RSAKeyFileError
The provided key file either doesn't exist or is unreadable.
Definition: qoauth_namespace.h:141
HttpMethod
This enum type specifies the HTTP method used for creating a Signature Base String and/or sending a r...
Definition: qoauth_namespace.h:80
@ PUT
Sets the HTTP method to PUT.
Definition: qoauth_namespace.h:84
QMultiMap< QByteArray, QByteArray > ParamMap
A typedef for the data structure for storing request parameters.
Definition: qoauth_namespace.h:46
ParsingMode
This enum type specifies the method of parsing parameters into a parameter string.
Definition: qoauth_namespace.h:106
@ GET
Sets the HTTP method to GET.
Definition: qoauth_namespace.h:81
@ ParseForInlineQuery
Definition: qoauth_namespace.h:108
@ NoError
No error occured (so far :-) )
Definition: qoauth_namespace.h:125
QOAUTH_EXPORT QByteArray tokenParameterName()
Returns the name of the Access Token argument parameter (oauth_token in current implementation)
Definition: interface.cpp:183
This namespace encapsulates all classes and definitions provided by libqoauth.
Definition: interface.h:41