C# Class Opc.Ua.Configuration.UserNameCreator

Creates UserName.
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode Description
Add ( string applicationName, string userName, string password ) : void

Add a User.

Delete ( string applicationName, string userName ) : bool

Delete a User.

LoadUserName ( string applicationName ) : UserNameIdentityToken>.Dictionary

Load UserNameIdentityToken.

UserNameCreator ( string applicationName ) : System

The default constructor.

Private Methods

Méthode Description
DecryptPassword ( byte srcPassword ) : byte[]

Decrypt Password.

EncryptPassword ( byte srcPassword ) : byte[]

Encrypt Password.

SaveUserName ( string applicationName, UserNameIdentityToken userNameToken ) : void

Save UserNameIdentityToken.

Method Details

Add() public méthode

Add a User.
public Add ( string applicationName, string userName, string password ) : void
applicationName string The Application Name.
userName string The UserName.
password string The Password.
Résultat void

Delete() public méthode

Delete a User.
public Delete ( string applicationName, string userName ) : bool
applicationName string The Application Name.
userName string The UserName.
Résultat bool

LoadUserName() public static méthode

Load UserNameIdentityToken.
public static LoadUserName ( string applicationName ) : UserNameIdentityToken>.Dictionary
applicationName string
Résultat UserNameIdentityToken>.Dictionary

UserNameCreator() public méthode

The default constructor.
public UserNameCreator ( string applicationName ) : System
applicationName string
Résultat System