DeviceRegistryAuthentication Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Definition of the client authentication mechanism to the server.
public class DeviceRegistryAuthentication : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryAuthentication>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryAuthentication>
type DeviceRegistryAuthentication = class
interface IJsonModel<DeviceRegistryAuthentication>
interface IPersistableModel<DeviceRegistryAuthentication>
Public Class DeviceRegistryAuthentication
Implements IJsonModel(Of DeviceRegistryAuthentication), IPersistableModel(Of DeviceRegistryAuthentication)
- Inheritance
-
DeviceRegistryAuthentication
- Implements
Constructors
DeviceRegistryAuthentication(AuthenticationMethod) |
Initializes a new instance of DeviceRegistryAuthentication. |
Properties
Method |
Defines the method to authenticate the user of the client at the server. |
UsernamePasswordCredentials |
Defines the username and password references when UsernamePassword user authentication mode is selected. |
X509CredentialsCertificateSecretName |
The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx). |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<DeviceRegistryAuthentication>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DeviceRegistryAuthentication>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DeviceRegistryAuthentication>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DeviceRegistryAuthentication>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DeviceRegistryAuthentication>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET