- 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 enumQOAuth1Signature::HttpRequestMethod
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionOverloaded 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, ? extends List<? extends 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, ? extends List<? extends Object>> parameters) QOAuth1Signature
(QOAuth1Signature other) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addRequestBody
(QUrlQuery body) final void
assign
(QOAuth1Signature other) final String
clone()
Creates and returns a copy of this object.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, ? extends List<? extends 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
-
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
-
-
Method Details
-
addRequestBody
-
customMethodString
-
hmacSha1
-
httpRequestMethod
-
insert
-
keys
-
assign
-
parameters
-
plainText
-
rsaSha1
-
setCustomMethodString
-
setHttpRequestMethod
-
setParameters
@QtUninvokable public final void setParameters(Map<String, ? extends List<? extends Object>> parameters) -
setTokenSecret
-
setUrl
-
swap
-
take
-
tokenSecret
-
url
-
value
Overloaded function for
value(java.lang.String, java.lang.Object)
withdefaultValue = null
. -
value
-
plainText
-
clone
Creates and returns a copy of this object.
-