C# Class VaultSharp.Backends.Authentication.Models.UsernamePassword.UsernamePasswordAuthenticationInfo

Represents the login information for the UsernamePassword Authentication backend.
Inheritance: IAuthenticationInfo
显示文件 Open project: rajanadar/VaultSharp Class Usage Examples

Public Methods

Method Description
UsernamePasswordAuthenticationInfo ( string username, string password ) : VaultSharp.Infrastructure.Validation

Initializes a new instance of the UsernamePasswordAuthenticationInfo class.

UsernamePasswordAuthenticationInfo ( string mountPoint, string username, string password, string multiFactorPasscode = null, string multiFactorMethod = null ) : VaultSharp.Infrastructure.Validation

Initializes a new instance of the UsernamePasswordAuthenticationInfo class.

Method Details

UsernamePasswordAuthenticationInfo() public method

Initializes a new instance of the UsernamePasswordAuthenticationInfo class.
public UsernamePasswordAuthenticationInfo ( string username, string password ) : VaultSharp.Infrastructure.Validation
username string The username.
password string The password.
return VaultSharp.Infrastructure.Validation

UsernamePasswordAuthenticationInfo() public method

Initializes a new instance of the UsernamePasswordAuthenticationInfo class.
public UsernamePasswordAuthenticationInfo ( string mountPoint, string username, string password, string multiFactorPasscode = null, string multiFactorMethod = null ) : VaultSharp.Infrastructure.Validation
mountPoint string The mount point.
username string The username.
password string The password.
multiFactorPasscode string The multi factor passcode.
multiFactorMethod string The multi factor method.
return VaultSharp.Infrastructure.Validation