AllJoynCredentials
AllJoynCredentials
AllJoynCredentials
AllJoynCredentials
Class
Definition
Defines properties used when passing credentials during authentication.
public : sealed class AllJoynCredentials : IAllJoynCredentialspublic sealed class AllJoynCredentials : IAllJoynCredentialsPublic NotInheritable Class AllJoynCredentials Implements IAllJoynCredentials// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
allJoyn
|
Properties
AuthenticationMechanism AuthenticationMechanism AuthenticationMechanism AuthenticationMechanism
The mechanism used for credential authentication.
public : AllJoynAuthenticationMechanism AuthenticationMechanism { get; }public AllJoynAuthenticationMechanism AuthenticationMechanism { get; }Public ReadOnly Property AuthenticationMechanism As AllJoynAuthenticationMechanism// You can use this property in JavaScript.
- Value
- AllJoynAuthenticationMechanism AllJoynAuthenticationMechanism AllJoynAuthenticationMechanism AllJoynAuthenticationMechanism
The authentication mechanism.
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
allJoyn
|
Certificate Certificate Certificate Certificate
The cryptography certificate used for the Rsa and EcdheEcdsa authentication mechanisms.
public : Certificate Certificate { get; set; }public Certificate Certificate { get; set; }Public ReadWrite Property Certificate As Certificate// You can use this property in JavaScript.
The cryptography certificate.
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
allJoyn
|
PasswordCredential PasswordCredential PasswordCredential PasswordCredential
The user name, if any, and password used for authentication.
public : PasswordCredential PasswordCredential { get; set; }public PasswordCredential PasswordCredential { get; set; }Public ReadWrite Property PasswordCredential As PasswordCredential// You can use this property in JavaScript.
A user name/password combination.
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| 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.
Timeout Timeout Timeout Timeout
The period of time before provided credentials expire.
public : TimeSpan Timeout { get; set; }public TimeSpan Timeout { get; set; }Public ReadWrite Property Timeout As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The expiration time.
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
allJoyn
|