QOpcUaUserTokenPolicy#

The OPC UA UserTokenPolicy . More

Inheritance diagram of PySide6.QtOpcUa.QOpcUaUserTokenPolicy

Synopsis#

Functions#

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

arg__1PySide6.QtOpcUa.QOpcUaUserTokenPolicy

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.

PySide6.QtOpcUa.QOpcUaUserTokenPolicy.issuerEndpointUrl()#
Return type

str

Returns the URL of a token issuing service.

PySide6.QtOpcUa.QOpcUaUserTokenPolicy.__eq__(arg__1)#
Parameters

arg__1PySide6.QtOpcUa.QOpcUaUserTokenPolicy

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

setPolicyId()

PySide6.QtOpcUa.QOpcUaUserTokenPolicy.securityPolicy()#
Return type

str

Returns the URI of the security policy required when encrypting or signing the token for ActivateSession.

PySide6.QtOpcUa.QOpcUaUserTokenPolicy.setIssuedTokenType(issuedTokenType)#
Parameters

issuedTokenType – str

Sets the URI for the token type to issuedTokenType.

PySide6.QtOpcUa.QOpcUaUserTokenPolicy.setIssuerEndpointUrl(issuerEndpointUrl)#
Parameters

issuerEndpointUrl – str

Sets the URL of the token issuing service to issuerEndpointUrl.

PySide6.QtOpcUa.QOpcUaUserTokenPolicy.setPolicyId(policyId)#
Parameters

policyId – str

Sets the identifier for this policy to policyId.

See also

policyId()

PySide6.QtOpcUa.QOpcUaUserTokenPolicy.setSecurityPolicy(securityPolicy)#
Parameters

securityPolicy – str

Sets the URI of the security policy to securityPolicy.

See also

securityPolicy()

PySide6.QtOpcUa.QOpcUaUserTokenPolicy.setTokenType(tokenType)#
Parameters

tokenTypeTokenType

Sets the type of the required user identity token to tokenType.

See also

tokenType()

PySide6.QtOpcUa.QOpcUaUserTokenPolicy.tokenType()#
Return type

TokenType

Returns the type of the required user identity token.

See also

setTokenType()