SshGssApiCredentials Class
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
Encapsulates GSSAPI credentials and preferred authentication mechanisms. Only supported on Windows and partially on Mono.
Syntax
public class SshGssApiCredentials : ICloneable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
SshGssApiCredentials() | Creates a new SshGssApiCredentials instance. |
SshGssApiCredentials(String, String, String) | Creates a new SshGssApiCredentials instance and initializes it with the specified credentials. |
Properties
Name | Description |
---|---|
AccountName | Gets the user name to submit to the SSH server. Only specify this if you need to use a different name than UserName. |
AllowDelegation | Indicates whether the authentication token supports delegation. This enables the server to use the context to authenticate to other servers as the client. |
Domain | Gets the user's domain. If it is set to null ('Nothing' in VB.NET), it will be determined from the user name. If not available, the default domain will be used. |
Password | Gets the user's password. |
TargetName | Target name. This should contain the full SSH server's hostname. |
UserName | Gets the user name. If it is set to null ('Nothing' in VB.NET), integrated authentication (single sign-on) will be used. |
Methods
Name | Description |
---|---|
Clone() | Creates a copy of this SshGssApiCredentials instance. |
GetMechanisms() | Gets a list of allowed GSSAPI authentication mechanism, in order of preference. |
SetMechanisms(SshGssApiMechanisms[]) | Sets a list of allowed GSSAPI authentication mechanism, in order of preference. |
Explicit Interface Implementations
Name | Description |
---|---|
ICloneable.Clone() | Creates a copy of this SshGssApiCredentials instance. |