set_credential_name


Description:

[ Version ( since = "3.16" ) ]
public void set_credential_name (string? credential_name)

Sets the credential name used to pass the stored or gathered credential (like password) into the invoke_authenticate.

This is a counterpart of the authentication method. The null means to use the default name, which is SOURCE_CREDENTIAL_PASSWORD.

The internal copy of credential_name is automatically stripped of leading and trailing whitespace. If the resulting string is empty, null is set instead.

Parameters:

this

an SourceAuthentication

credential_name

a credential name, or null