Table of Contents

Class AuthenticationSchema

Namespace
Azure.Iot.Operations.Services.AssetAndDeviceRegistry.Generated.AdrBaseService
Assembly
Azure.Iot.Operations.Services.dll

Defines the client authentication mechanism to the server.

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

MethodSchema

UsernamePasswordCredentials

The credentials for authentication mode UsernamePassword.

[JsonPropertyName("usernamePasswordCredentials")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public UsernamePasswordCredentialsSchema? UsernamePasswordCredentials { get; set; }

Property Value

UsernamePasswordCredentialsSchema

X509credentials

The x509 certificate for authentication mode Certificate.

[JsonPropertyName("x509Credentials")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public X509credentialsSchema? X509credentials { get; set; }

Property Value

X509credentialsSchema