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
Afficher le fichier Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Uses the default credentials of the user to authenticate
public IntegratedSecurityClient ( ) : System
Résultat System

IntegratedSecurityClient() public méthode

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.
Résultat System

TryAuthenticateAsClient() public méthode

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.
Résultat bool