Table of Contents

Class EntraApplicationCredential

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

Represents an Entra directory application credential.

public abstract class EntraApplicationCredential : GlobalSerializableBase, IComparable<EntraApplicationCredential>
Inheritance
EntraApplicationCredential
Implements
Derived

Constructors

EntraApplicationCredential()

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

public EntraApplicationCredential()

Properties

CredentialType

Gets the credential type.

public EntraApplicationCredentialType CredentialType { get; set; }

Property Value

EntraApplicationCredentialType

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(EntraApplicationCredential)

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

public int CompareTo(EntraApplicationCredential other)

Parameters

other EntraApplicationCredential

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

Returns

int

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

ToString()

Returns the display name of the credential.

public override string ToString()

Returns

string

The display name of the credential.