Share via


ClientAuthentication Class

Definition

The Authentication properties for the client.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.ClientAuthenticationTypeConverter))]
public class ClientAuthentication : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IClientAuthentication
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.ClientAuthenticationTypeConverter))>]
type ClientAuthentication = class
    interface IClientAuthentication
    interface IJsonSerializable
Public Class ClientAuthentication
Implements IClientAuthentication
Inheritance
ClientAuthentication
Attributes
Implements

Constructors

ClientAuthentication()

Creates an new ClientAuthentication instance.

Properties

CertificateSubjectCommonName

The common name field in the subject name. The allowed limit is 64 characters and it should be specified.

CertificateSubjectCountryCode

The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.

CertificateSubjectOrganization

The organization field in the subject name. If present, the allowed limit is 64 characters.

CertificateSubjectOrganizationUnit

The organization unit field in the subject name. If present, the allowed limit is 32 characters.

CertificateThumbprintPrimary

The primary thumbprint used for validation.

CertificateThumbprintSecondary

The secondary thumbprint used for validation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ClientAuthentication.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ClientAuthentication.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IClientAuthentication.

FromJsonString(String)

Creates a new instance of ClientAuthentication, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ClientAuthentication into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to