VaserKerberosClient Constructor (NetworkCredential, String, ProtectionLevel, TokenImpersonationLevel) |
Called by clients to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified credentials and authentication options.
Namespace: Vaser.ConnectionSettings Assembly: Vaser (in Vaser.dll) Version: 1.1.23.0 (1.1.23.0)
Syntax public VaserKerberosClient( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel )
Parameters
- credential
- Type: System.NetNetworkCredential
The NetworkCredential that is used to establish the identity of the client. - targetName
- Type: SystemString
The Service Principal Name (SPN) that uniquely identifies the server to authenticate. - requiredProtectionLevel
- Type: System.Net.SecurityProtectionLevel
One of the ProtectionLevel values, indicating the security services for the stream. - requiredImpersonationLevel
- Type: System.Security.PrincipalTokenImpersonationLevel
One of the TokenImpersonationLevel values, indicating how the server can use the client's credentials to access resources.
See Also