Connectivity Software User's Guide and Reference
MemoryNameAndPasswordUserManager Class Members
Fields  Properties  Methods 


OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.User Namespace : MemoryNameAndPasswordUserManager Class

The following tables list the members exposed by MemoryNameAndPasswordUserManager.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public FieldThe default algorithm ID used for password hashing.

This is a constant, and its value is "pbkdf2-sha512".

 
Public FieldThe default hash size in bytes (256 bits).

This is a constant, and its value is 32.

 
Public FieldThe default number of iterations for password hashing.

This is a constant, and its value is 10000.

 
Public FieldThe default salt size in bytes (128 bits).

This is a constant, and its value is 16.

 
Top
Public Properties
 NameDescription
Public PropertyGets or sets the algorithm ID used for password hashing.  
Public PropertyThe (modifiable) set of default security role IDs that are assigned to newly created users.  
Public PropertyGets or sets the hash size in bytes.  
Public PropertyGets or sets the number of iterations for password hashing.  
Public PropertyGets or sets the salt size in bytes.  
Top
Public Methods
 NameDescription
Public MethodAdds a security role to the specified user.  
Public MethodDetermines whether a user with the specified security ID can log on.  
Public MethodOverridden.   
Public MethodCreates a new user with the specified username, password, and enabled status.  
Public MethodDeletes the user with the specified security ID.  
Public MethodOverloaded. Overridden. Determines whether the specified System.Object is equal to the current object.  
Public MethodFinds the security ID of a user with the specified username.  
Public MethodGets whether the user with the specified security ID is enabled.  
Public Method  
Public MethodOverridden. Serves as a hash function for a particular type.  
Public MethodOverridden.   
Public Method (Inherited from OpcLabs.BaseLib.Info)
Public MethodGets an enumerable collection of all security IDs in the user manager.  
Public MethodGets the security role IDs for the user with the specified security ID.  
Public MethodGets a stream persistor that can be used to save and load this object.  
Public MethodGets the System.Type of the current instance. (Inherited from object)
Public MethodGets the username for the specified security ID.  
Public Method (Inherited from OpcLabs.BaseLib.Info)
Public MethodRemoves a security role from the specified user.  
Public MethodSets whether the user with the specified security ID is enabled.  
Public MethodSets the password for the user with the specified security ID.  
Public MethodOverridden.   
Public MethodVerifies whether the specified password matches the password of the user with the specified security ID.  
Public Method (Inherited from OpcLabs.BaseLib.Info)
Top
Protected Methods
 NameDescription
Protected MethodCreates a System.Security.Cryptography.DeriveBytes instance for password hashing with the specified parameters.  
Protected MethodCreates a cryptographically random salt for password hashing.  
Protected MethodCreates a unique security ID for a new user.  
Protected MethodAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from object)
Protected MethodHashes a password using the specified algorithm, iterations, and salt.  
Protected MethodCreates a shallow copy of the current System.Object. (Inherited from object)
Protected MethodInfrastructure. (Inherited from OpcLabs.BaseLib.Info)
Protected MethodInfrastructure. (Inherited from OpcLabs.BaseLib.Info)
Top
Extension Methods
 NameDescription
Public Extension MethodAdds multiple security role IDs to a user.
Public Extension MethodOverloaded. Creates a new user with the specified username and an empty password.
Public Extension MethodCreates a new user with the specified username, password, and security role IDs.
Public Extension MethodGets the user record information for the specified security ID.
Public Extension MethodDetermines whether a user with the specified username exists in the user manager.
Public Extension MethodLoads the state of the OpcLabs.BaseLib.Persistence.IStreamPersistable object from a file.
Public Extension MethodRemoves multiple security role IDs from a user.
Public Extension MethodSaves the state of the OpcLabs.BaseLib.Persistence.IStreamPersistable object to a file.
Public Extension MethodSets the arbitrary object associated with the node.
Public Extension MethodVerifies a username user identity token and returns the verification outcome.
Top
Public Operators
Determines whether the two objects are equal.
Determines whether the two objects are not equal.
Top
See Also

Reference

MemoryNameAndPasswordUserManager Class
OpcLabs.BaseLib.Security.User Namespace