- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Implements OAuth 1 signature methods
Java wrapper for Qt class QOAuth1Signature
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QOAuth1Signature::HttpRequestMethodNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQOAuth1Signature(io.qt.core.QUrl, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
QOAuth1Signature
(QUrl url) Overloaded constructor forQOAuth1Signature(io.qt.core.QUrl, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
QOAuth1Signature
(QUrl url, QOAuth1Signature.HttpRequestMethod method) Overloaded constructor forQOAuth1Signature(io.qt.core.QUrl, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
withparameters = java.util.Collections.emptyNavigableMap()
.QOAuth1Signature
(QUrl url, QOAuth1Signature.HttpRequestMethod method, Map<String, Object> parameters) QOAuth1Signature
(QUrl url, String clientSharedKey, String tokenSecret) QOAuth1Signature
(QUrl url, String clientSharedKey, String tokenSecret, QOAuth1Signature.HttpRequestMethod method) Overloaded constructor forQOAuth1Signature(io.qt.core.QUrl, java.lang.String, java.lang.String, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
withparameters = java.util.Collections.emptyNavigableMap()
.QOAuth1Signature
(QUrl url, String clientSharedKey, String tokenSecret, QOAuth1Signature.HttpRequestMethod method, Map<String, Object> parameters) QOAuth1Signature
(QOAuth1Signature other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addRequestBody
(QUrlQuery body) final String
clone()
final QByteArray
final QByteArray
hmacSha1()
final void
keys()
final QByteArray
static QByteArray
final QByteArray
rsaSha1()
final void
setClientSharedKey
(String secret) final void
final void
final void
setParameters
(Map<String, Object> parameters) final void
setTokenSecret
(String secret) final void
final void
swap
(QOAuth1Signature other) final Object
final String
final QUrl
url()
final Object
Overloaded function forvalue(java.lang.String, java.lang.Object)
withdefaultValue = null
.final Object
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QOAuth1Signature
-
QOAuth1Signature
Overloaded constructor for
QOAuth1Signature(io.qt.core.QUrl, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
withparameters = java.util.Collections.emptyNavigableMap()
. -
QOAuth1Signature
Overloaded constructor for
QOAuth1Signature(io.qt.core.QUrl, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
with:
method = io.qt.network.auth.QOAuth1Signature.HttpRequestMethod.Post
parameters = java.util.Collections.emptyNavigableMap()
-
QOAuth1Signature
public QOAuth1Signature()Overloaded constructor for
QOAuth1Signature(io.qt.core.QUrl, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
with:
url = new io.qt.core.QUrl()
method = io.qt.network.auth.QOAuth1Signature.HttpRequestMethod.Post
parameters = java.util.Collections.emptyNavigableMap()
-
QOAuth1Signature
public QOAuth1Signature(QUrl url, QOAuth1Signature.HttpRequestMethod method, Map<String, Object> parameters) -
QOAuth1Signature
public QOAuth1Signature(QUrl url, String clientSharedKey, String tokenSecret, QOAuth1Signature.HttpRequestMethod method) Overloaded constructor for
QOAuth1Signature(io.qt.core.QUrl, java.lang.String, java.lang.String, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
withparameters = java.util.Collections.emptyNavigableMap()
. -
QOAuth1Signature
Overloaded constructor for
QOAuth1Signature(io.qt.core.QUrl, java.lang.String, java.lang.String, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
with:
method = io.qt.network.auth.QOAuth1Signature.HttpRequestMethod.Post
parameters = java.util.Collections.emptyNavigableMap()
-
QOAuth1Signature
-
QOAuth1Signature
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addRequestBody
-
customMethodString
-
hmacSha1
-
httpRequestMethod
-
insert
-
keys
-
parameters
-
plainText
-
rsaSha1
-
setCustomMethodString
-
setHttpRequestMethod
-
setParameters
-
setTokenSecret
-
setUrl
-
swap
-
take
-
tokenSecret
-
url
-
value
Overloaded function for
value(java.lang.String, java.lang.Object)
withdefaultValue = null
. -
value
-
plainText
-
clone
-