set_method


Description:

public void set_method (string? method)

Sets the authentication method for a remote account.

There are no pre-defined method names; backends are free to set this however they wish. If authentication is not required for a remote account, the convention is to set the method to "none". In keeping with that convention, method will be set to "none" if method is null or an empty string.

Parameters:

this

an SourceAuthentication

method

authentication method, or null