ข้ามไปยังเนื้อหา

Class IdentitySelection

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll

Describes the active identity and authorization inputs resolved for a Cephalon app.

public sealed class IdentitySelection

objectIdentitySelection

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

IdentitySelection(bool?, IReadOnlyList<string>?)

Section titled “ IdentitySelection(bool?, IReadOnlyList<string>?)”

Initializes a new instance of the class.

[JsonConstructor]
public IdentitySelection(bool? enabled = null, IReadOnlyList<string>? authorizationModes = null)

enabled bool?

Whether identity and authorization support was explicitly enabled.

authorizationModes IReadOnlyList<string>?

The selected authorization modes.

Gets the selected authorization modes.

public IReadOnlyList<string> AuthorizationModes { get; }

IReadOnlyList<string>

Gets an empty identity-selection instance.

public static IdentitySelection Empty { get; }

IdentitySelection

Gets a value indicating whether identity and authorization support was explicitly enabled.

public bool? Enabled { get; }

bool?

Gets a value indicating whether any identity-selection inputs were explicitly supplied.

public bool HasValues { get; }

bool