UserTokenType#

class UserTokenType(value)#

Bases: object

A semantic OPC UA integer value with typed constants and equality.

Construct a semantic value from its native integer representation.

Parameters:

value (int)

Native numeric value or flag bits.

Returns:

object – The corresponding typed wrapper.

Examples

>>> from instro.opcua.types import AttributeId
>>> AttributeId(13) == AttributeId.VALUE
True

Attributes

ANONYMOUS = UserTokenType(0)#
CERTIFICATE = UserTokenType(2)#
ISSUED_TOKEN = UserTokenType(3)#
USER_NAME = UserTokenType(1)#
value#