property Authentications: TScUserAuthentications;
Description
The Authentications property contains available authentication methods.
Value | Meaning |
uaPublicKey | Determines whether the connecting by key is allowed. If the Authentications property does not contain this value, the Key property is nil. When this value is added, the Key object is created automatically, when it is removed, the Key is freed. |
uaPassword | Determines whether the connecting by password is allowed. In this case the password is obtained from the Password property. |
uaOSAuthentication | Determines whether the connecting by password is allowed. In this case the system password is used. The Password property can be empty. |
Note: If both uaPassword and uaOSAuthentication values are in the set, at first the password from the Password property is used. If the authentication fails, then the system password is used.