The OPC UA UserTokenPolicy. More...
Header: | #include <QOpcUaUserTokenPolicy> |
qmake: | QT += opcua |
enum | TokenType { Anonymous, Username, Certificate, IssuedToken } |
QOpcUaUserTokenPolicy(const QOpcUaUserTokenPolicy &rhs) | |
QOpcUaUserTokenPolicy & | operator=(const QOpcUaUserTokenPolicy &rhs) |
QString | issuedTokenType() const |
QString | issuerEndpointUrl() const |
QString | policyId() const |
QString | securityPolicy() const |
void | setIssuedTokenType(const QString &issuedTokenType) |
void | setIssuerEndpointUrl(const QString &issuerEndpointUrl) |
void | setPolicyId(const QString &policyId) |
void | setSecurityPolicy(const QString &securityPolicy) |
void | setTokenType(QOpcUaUserTokenPolicy::TokenType tokenType) |
QOpcUaUserTokenPolicy::TokenType | tokenType() const |
bool | operator==(const QOpcUaUserTokenPolicy &rhs) const |
The user token policy contains information about an user token accepted by the server.
Constant | Value | Description |
---|---|---|
QOpcUaUserTokenPolicy::Anonymous |
0 |
No token required. |
QOpcUaUserTokenPolicy::Username |
1 |
Username and password are required. |
QOpcUaUserTokenPolicy::Certificate |
2 |
A client certificate is required. |
QOpcUaUserTokenPolicy::IssuedToken |
3 |
Any Web Services Security (WS-Security) defined token. |
Constructs an user token policy from rhs.
Sets the values from rhs in this user token policy.
Returns the URI for the token type.
See also setIssuedTokenType().
Returns the URL of a token issuing service.
See also setIssuerEndpointUrl().
Returns a server assigned identifier for this policy.
See also setPolicyId().
Returns the URI of the security policy required when encrypting or signing the token for ActivateSession.
See also setSecurityPolicy().
Sets the URI for the token type to issuedTokenType.
See also issuedTokenType().
Sets the URL of the token issuing service to issuerEndpointUrl.
See also issuerEndpointUrl().
Sets the identifier for this policy to policyId.
See also policyId().
Sets the URI of the security policy to securityPolicy.
See also securityPolicy().
Sets the type of the required user identity token to tokenType.
See also tokenType().
Returns the type of the required user identity token.
See also setTokenType().
Returns true
if this user token policy has the same value as rhs.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qopcuausertokenpolicy.html