C++ Based OPC UA Client/Server/PubSub SDK
UaUserIdentityTokenUserPassword Class Reference

Class representing an User and Password user identity token. More...

#include <uauseridentitytoken.h>

Inherits UaUserIdentityToken.

Public Member Functions

 UaUserIdentityTokenUserPassword ()
 Constructs a user identity token object of the type UserPassword.
virtual ~UaUserIdentityTokenUserPassword ()
 Destroys the UserPassword user identity token object.
OpcUa_UserTokenType getTokenType () const
 Returns the user identity token type. More...
- Public Member Functions inherited from UaUserIdentityToken
 UaUserIdentityToken ()
 Constructs a user identity token object.
virtual ~UaUserIdentityToken ()
 Destroys the user identity token object.

Public Attributes

UaString sUserName
 User name string.
UaString sPassword
 Password string.

Detailed Description

Class representing an User and Password user identity token.

The class is derived from UaUserIdentityToken and is used if user name and password based user identity is provided.

Member Function Documentation

OpcUa_UserTokenType UaUserIdentityTokenUserPassword::getTokenType ( ) const

Returns the user identity token type.

Possible values are:

  • OpcUa_UserTokenType_Anonymous
  • OpcUa_UserTokenType_UserName
  • OpcUa_UserTokenType_Certificate
  • OpcUa_UserTokenType_IssuedToken
    The function on the class UaUserIdentityTokenUserPassword returns OpcUa_UserTokenType_UserName

Implements UaUserIdentityToken.

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