C# Class GSF.Security.Authentication.IntegratedSecurityClient

Uses windows integrated security to authentication. This uses NTLM in non-domain environments and Kerberos in domain environments.
Inheritance: GSF.Diagnostics.DisposableLoggingClassBase
显示文件 Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Methods

Method Description
IntegratedSecurityClient ( ) : System

Uses the default credentials of the user to authenticate

IntegratedSecurityClient ( string username, string password, string domain ) : System

Uses the specified username and password to authenticate.

TryAuthenticateAsClient ( Stream stream, byte additionalChallenge = null ) : bool

Authenticates the client using the supplied stream.

Method Details

IntegratedSecurityClient() public method

Uses the default credentials of the user to authenticate
public IntegratedSecurityClient ( ) : System
return System

IntegratedSecurityClient() public method

Uses the specified username and password to authenticate.
public IntegratedSecurityClient ( string username, string password, string domain ) : System
username string The username to use
password string the password to use
domain string the domain to long in as.
return System

TryAuthenticateAsClient() public method

Authenticates the client using the supplied stream.
public TryAuthenticateAsClient ( Stream stream, byte additionalChallenge = null ) : bool
stream Stream the stream to use to authenticate the connection.
additionalChallenge byte Additional data that much match between the client and server /// for the connection to succeed.
return bool