- 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
-
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) QOAuth1Signature
(String url) Overloaded constructor forQOAuth1Signature(java.lang.String, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
QOAuth1Signature
(String url, QOAuth1Signature.HttpRequestMethod method) Overloaded constructor forQOAuth1Signature(java.lang.String, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
withparameters = java.util.Collections.emptyNavigableMap()
.QOAuth1Signature
(String url, QOAuth1Signature.HttpRequestMethod method, Map<String, ? extends List<? extends Object>> parameters) Overloaded constructor forQOAuth1Signature(io.qt.core.QUrl, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
.QOAuth1Signature
(String url, String clientSharedKey, String tokenSecret) QOAuth1Signature
(String url, String clientSharedKey, String tokenSecret, QOAuth1Signature.HttpRequestMethod method) Overloaded constructor forQOAuth1Signature(java.lang.String, java.lang.String, java.lang.String, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
withparameters = java.util.Collections.emptyNavigableMap()
.QOAuth1Signature
(String url, String clientSharedKey, String tokenSecret, QOAuth1Signature.HttpRequestMethod method, Map<String, ? extends List<? extends Object>> parameters) -
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
setCustomMethodString
(byte [] verb) Overloaded function forsetCustomMethodString(io.qt.core.QByteArray)
.final void
final void
final void
setParameters
(Map<String, ? extends List<? extends Object>> parameters) final void
setTokenSecret
(String secret) final void
final void
Overloaded function forsetUrl(io.qt.core.QUrl)
.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
- Parameters:
other
-
-
QOAuth1Signature
public QOAuth1Signature(QUrl url, QOAuth1Signature.HttpRequestMethod method, Map<String, ? extends List<? extends Object>> parameters) - Parameters:
url
-method
-parameters
-
-
QOAuth1Signature
public QOAuth1Signature(QUrl url, String clientSharedKey, String tokenSecret, QOAuth1Signature.HttpRequestMethod method, Map<String, ? extends List<? extends Object>> parameters) - Parameters:
url
-clientSharedKey
-tokenSecret
-method
-parameters
-
-
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
Overloaded constructor for
QOAuth1Signature(java.lang.String, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
withparameters = java.util.Collections.emptyNavigableMap()
. -
QOAuth1Signature
Overloaded constructor for
QOAuth1Signature(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
public QOAuth1Signature(String url, QOAuth1Signature.HttpRequestMethod method, Map<String, ? extends List<? extends Object>> parameters) Overloaded constructor for
QOAuth1Signature(io.qt.core.QUrl, io.qt.network.auth.QOAuth1Signature.HttpRequestMethod, java.util.Map)
. -
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
public QOAuth1Signature(String url, String clientSharedKey, String tokenSecret, QOAuth1Signature.HttpRequestMethod method) Overloaded constructor for
QOAuth1Signature(java.lang.String, 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(java.lang.String, 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
- Parameters:
body
-
-
customMethodString
- Returns:
-
hmacSha1
- Returns:
-
httpRequestMethod
- Returns:
-
insert
- Parameters:
key
-value
-
-
keys
- Returns:
-
assign
- Parameters:
other
-
-
parameters
- Returns:
-
plainText
- Returns:
-
rsaSha1
- Returns:
-
setCustomMethodString
- Parameters:
verb
-
-
setHttpRequestMethod
- Parameters:
method
-
-
setParameters
@QtUninvokable public final void setParameters(Map<String, ? extends List<? extends Object>> parameters) - Parameters:
parameters
-
-
setTokenSecret
- Parameters:
secret
-
-
setUrl
- Parameters:
url
-
-
swap
- Parameters:
other
-
-
take
- Parameters:
key
-- Returns:
-
tokenSecret
- Returns:
-
url
- Returns:
-
value
- Parameters:
key
-defaultValue
-- Returns:
-
plainText
- Parameters:
clientSharedSecret
-tokenSecret
-- Returns:
-
clone
Creates and returns a copy of this object.
-
setCustomMethodString
Overloaded function for
setCustomMethodString(io.qt.core.QByteArray)
. -
setUrl
Overloaded function for
setUrl(io.qt.core.QUrl)
. -
value
Overloaded function for
value(java.lang.String, java.lang.Object)
withdefaultValue = null
.
-