Dart.Ssh Namespace > Connection Class : GetRemainingAuthMethods(String) Method |
'Usage Dim instance As Connection Dim username As String Dim value() As String value = instance.GetRemainingAuthMethods(username)
public: string*[]* GetRemainingAuthMethods( string* username )
public: array<String^>^ GetRemainingAuthMethods( String^ username )
If authentication was not attempted prior to calling this method, this method will perform 'none' authentication with the specified username to query the available authentication methods, and will raise the StateChanged event before this methods returns. If authentication was previously attempted, the username argument is not used, and this method will return the cached value from the prior authentication attempt; the StateChanged event will not be raised.
If your server accepts 'none' authentication as the sole authentication factor, this method will authenticate the user.
The server may return method names that are not supported by this implementation.
This method should not be called after a successful authentication.