Class AuthenticationSchema
- Assembly
- Azure.Iot.Operations.Services.dll
public class AuthenticationSchema
- Inheritance
-
AuthenticationSchema
- Inherited Members
Properties
Method
Defines the method to authenticate the user of the client at the server.
[JsonPropertyName("method")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public MethodSchema Method { get; set; }
Property Value
UsernamePasswordCredentials
The credentials for authentication mode UsernamePassword.
[JsonPropertyName("usernamePasswordCredentials")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public UsernamePasswordCredentialsSchema? UsernamePasswordCredentials { get; set; }
Property Value
X509credentials
The x509 certificate for authentication mode Certificate.
[JsonPropertyName("x509Credentials")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public X509credentialsSchema? X509credentials { get; set; }