Table of Contents

Class EntraDirectoryApplicationCredential

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an Entra directory application credential.

public abstract class EntraDirectoryApplicationCredential : GlobalSerializableClassicBase, IComparable<EntraDirectoryApplicationCredential>
Inheritance
EntraDirectoryApplicationCredential
Implements
Derived

Constructors

EntraDirectoryApplicationCredential()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.EntraDirectoryApplicationCredential class.

public EntraDirectoryApplicationCredential()

Properties

CredentialTypeString

Gets the credential type as a human readable string.

public string CredentialTypeString { get; set; }

Property Value

string

DisplayName

Gets or sets the display name of the application credential.

public string DisplayName { get; set; }

Property Value

string

ExpiryDate

Gets or sets the expiry date of the credential.

public DateTime ExpiryDate { get; set; }

Property Value

DateTime

Identifier

Gets or sets the unique identifier of the application credential in GUID format.

public Guid Identifier { get; set; }

Property Value

Guid

IsExpired

Gets whether the credential is expired.

public bool IsExpired { get; }

Property Value

bool

IsExpiring

Gets whether the credential is expired or expiring in the next 90 days.

public bool IsExpiring { get; }

Property Value

bool

StartDate

Gets or sets the start date for the credential.

public DateTime StartDate { get; set; }

Property Value

DateTime

Methods

CompareTo(EntraDirectoryApplicationCredential)

Compares two CENTREL.XIA.Configuration.Types.EntraDirectoryApplicationCredential objects to allow sorting alphabetically by display name.

public int CompareTo(EntraDirectoryApplicationCredential other)

Parameters

other EntraDirectoryApplicationCredential

The CENTREL.XIA.Configuration.Types.EntraDirectoryApplicationCredential to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.EntraDirectoryApplicationCredential objects.

ToString()

Returns the display name of the credential.

public override string ToString()

Returns

string

The display name of the credential.