C# Class VaultSharp.Backends.Authentication.Models.LDAP.LDAPAuthenticationInfo

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

Public Methods

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

Initializes a new instance of the LDAPAuthenticationInfo class.

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

Initializes a new instance of the LDAPAuthenticationInfo class.

Method Details

LDAPAuthenticationInfo() public method

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

LDAPAuthenticationInfo() public method

Initializes a new instance of the LDAPAuthenticationInfo class.
public LDAPAuthenticationInfo ( 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