C++ Based OPC UA Client/Server/PubSub SDK
UaUserIdentityToken Class Referenceabstract

Base class for the different user identity token classes. More...

#include <uauseridentitytoken.h>

Inherited by UaUserIdentityTokenAnonymous, UaUserIdentityTokenCertificate, UaUserIdentityTokenKerberosTicket, and UaUserIdentityTokenUserPassword.

Public Member Functions

 UaUserIdentityToken ()
 Constructs a user identity token object.
virtual ~UaUserIdentityToken ()
 Destroys the user identity token object.
virtual OpcUa_UserTokenType getTokenType () const =0
 Returns the user identity token type. More...

Detailed Description

Base class for the different user identity token classes.

The specific user identity tokens are represented by the derived classes UaUserIdentityTokenAnonymous and UaUserIdentityTokenUserPassword. This base class is only used in method signatures.

Member Function Documentation

virtual OpcUa_UserTokenType UaUserIdentityToken::getTokenType ( ) const
pure virtual

Returns the user identity token type.

Possible values are:

  • OpcUa_UserTokenType_Anonymous
  • OpcUa_UserTokenType_UserName
  • OpcUa_UserTokenType_Certificate
  • OpcUa_UserTokenType_KerberosToken
    the token type

Implemented in UaUserIdentityTokenKerberosTicket, UaUserIdentityTokenCertificate, UaUserIdentityTokenUserPassword, and UaUserIdentityTokenAnonymous.

The documentation for this class was generated from the following files: