AllJoynCredentials.PasswordCredential AllJoynCredentials.PasswordCredential AllJoynCredentials.PasswordCredential AllJoynCredentials.PasswordCredential AllJoynCredentials.PasswordCredential Property

Definition

The user name, if any, and password used for authentication.

public : PasswordCredential PasswordCredential { get; set; }
PasswordCredential PasswordCredential();

void PasswordCredential(PasswordCredential passwordcredential);
public PasswordCredential PasswordCredential { get; set; }
Public ReadWrite Property PasswordCredential As PasswordCredential
var passwordCredential = allJoynCredentials.passwordCredential;
allJoynCredentials.passwordCredential = passwordCredential;

Property Value

A user name/password combination.

Additional features and requirements

Capabilities
allJoyn

Remarks

The password value contained in a PasswordCredential object is used by the following authentication mechanisms: It’s also optionally used by Rsa if the private key associated with the certificate is encrypted with a password. The user name is used only by SrpLogon, and is ignored for the other ones.

  • SrpAnonymous
  • SrpLogon
  • Pin
  • EcdhePsk

Note

Used for Rsa if the private key associated with the certificate is encrypted with a password.

The username value contained in a PasswordCredential object is used only by SrpLogon, and is ignored by other authentication mechanisms.