Dela via


UserAuthenticationUpdate Class

Definition

Definition of the client authentication mechanism to the server.

public class UserAuthenticationUpdate : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DeviceRegistry.Models.UserAuthenticationUpdate>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DeviceRegistry.Models.UserAuthenticationUpdate>
type UserAuthenticationUpdate = class
    interface IJsonModel<UserAuthenticationUpdate>
    interface IPersistableModel<UserAuthenticationUpdate>
Public Class UserAuthenticationUpdate
Implements IJsonModel(Of UserAuthenticationUpdate), IPersistableModel(Of UserAuthenticationUpdate)
Inheritance
UserAuthenticationUpdate
Implements

Constructors

UserAuthenticationUpdate()

Initializes a new instance of UserAuthenticationUpdate.

Properties

Mode

Defines the mode to authenticate the user of the client at the server.

UsernamePasswordCredentials

Defines the username and password references when UsernamePassword user authentication mode is selected.

X509CredentialsCertificateReference

A reference to secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).

Explicit Interface Implementations

IJsonModel<UserAuthenticationUpdate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<UserAuthenticationUpdate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserAuthenticationUpdate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserAuthenticationUpdate>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<UserAuthenticationUpdate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to