Class User

Namespace
Cratis.Arc.Identity
Assembly
Cratis.Arc.Core.dll

Represents a development user.

public record User : IEquatable<User>
Inheritance
User
Implements
Inherited Members
Extension Methods

Constructors

User(ClientPrincipal, object)

Represents a development user.

public User(ClientPrincipal MicrosoftIdentity, object Details)

Parameters

MicrosoftIdentity ClientPrincipal

The Microsoft identity representation of the user.

Details object

Optional user details.

User(User)

protected User(User original)

Parameters

original User

Properties

Details

Optional user details.

public object Details { get; init; }

Property Value

object

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

MicrosoftIdentity

The Microsoft identity representation of the user.

public ClientPrincipal MicrosoftIdentity { get; init; }

Property Value

ClientPrincipal

Methods

Deconstruct(out ClientPrincipal, out object)

public void Deconstruct(out ClientPrincipal MicrosoftIdentity, out object Details)

Parameters

MicrosoftIdentity ClientPrincipal
Details object

Equals(User?)

public virtual bool Equals(User? other)

Parameters

other User

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(User?, User?)

public static bool operator ==(User? left, User? right)

Parameters

left User
right User

Returns

bool

operator !=(User?, User?)

public static bool operator !=(User? left, User? right)

Parameters

left User
right User

Returns

bool