QOpcUaUserTokenPolicy#
The OPC UA UserTokenPolicy . More…
Synopsis#
Functions#
def
issuedTokenType
()def
issuerEndpointUrl
()def
__eq__
(arg__1)def
policyId
()def
securityPolicy
()def
setIssuedTokenType
(issuedTokenType)def
setIssuerEndpointUrl
(issuerEndpointUrl)def
setPolicyId
(policyId)def
setSecurityPolicy
(securityPolicy)def
setTokenType
(tokenType)def
tokenType
()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
The user token policy contains information about an user token accepted by the server.
- class PySide6.QtOpcUa.QOpcUaUserTokenPolicy#
PySide6.QtOpcUa.QOpcUaUserTokenPolicy(arg__1)
- Parameters:
Default constructs a user token policy with no parameters set.
Constructs an user token policy from rhs
.
- PySide6.QtOpcUa.QOpcUaUserTokenPolicy.TokenType#
Constant
Description
QOpcUaUserTokenPolicy.Anonymous
No token required.
QOpcUaUserTokenPolicy.Username
Username and password are required.
QOpcUaUserTokenPolicy.Certificate
A client certificate is required.
QOpcUaUserTokenPolicy.IssuedToken
Any Web Services Security (WS-Security) defined token.
- PySide6.QtOpcUa.QOpcUaUserTokenPolicy.issuedTokenType()#
- Return type:
str
Returns the URI for the token type.
See also
- PySide6.QtOpcUa.QOpcUaUserTokenPolicy.issuerEndpointUrl()#
- Return type:
str
Returns the URL of a token issuing service.
See also
- PySide6.QtOpcUa.QOpcUaUserTokenPolicy.__eq__(arg__1)#
- Parameters:
- Return type:
bool
Returns true
if this user token policy has the same value as rhs
.
- PySide6.QtOpcUa.QOpcUaUserTokenPolicy.policyId()#
- Return type:
str
Returns a server assigned identifier for this policy.
See also
- PySide6.QtOpcUa.QOpcUaUserTokenPolicy.securityPolicy()#
- Return type:
str
Returns the URI of the security policy required when encrypting or signing the token for ActivateSession.
See also
- PySide6.QtOpcUa.QOpcUaUserTokenPolicy.setIssuedTokenType(issuedTokenType)#
- Parameters:
issuedTokenType – str
Sets the URI for the token type to issuedTokenType
.
See also
- PySide6.QtOpcUa.QOpcUaUserTokenPolicy.setIssuerEndpointUrl(issuerEndpointUrl)#
- Parameters:
issuerEndpointUrl – str
Sets the URL of the token issuing service to issuerEndpointUrl
.
See also
- PySide6.QtOpcUa.QOpcUaUserTokenPolicy.setPolicyId(policyId)#
- Parameters:
policyId – str
Sets the identifier for this policy to policyId
.
See also
- PySide6.QtOpcUa.QOpcUaUserTokenPolicy.setSecurityPolicy(securityPolicy)#
- Parameters:
securityPolicy – str
Sets the URI of the security policy to securityPolicy
.
See also
Sets the type of the required user identity token to tokenType
.
See also
Returns the type of the required user identity token.
See also