Skip to content

Class AuthenticationStartingEvent

Namespace: Void.Proxy.Api.Events.Authentication
Assembly: Void.Proxy.Api.dll

Requests a decision about which side should authenticate a linked player.

public record AuthenticationStartingEvent : IScopedEventWithResult<AuthenticationSide>, IScopedEvent, IEventWithResult<AuthenticationSide>, IEvent, IEquatable<AuthenticationStartingEvent>

Inheritance

objectAuthenticationStartingEvent

Implements

IScopedEventWithResult<AuthenticationSide>, IScopedEvent, IEventWithResult<AuthenticationSide>, IEvent, IEquatable<AuthenticationStartingEvent>

Inherited Members

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

Constructors

Requests a decision about which side should authenticate a linked player.

public AuthenticationStartingEvent(ILink Link, IPlayer Player)

Parameters

Link ILink

The active link awaiting authentication.

Player IPlayer

The player whose authentication side is being selected.

Properties

The active link awaiting authentication.

public ILink Link { get; init; }

Property Value

ILink

Player

The player whose authentication side is being selected.

public IPlayer Player { get; init; }

Property Value

IPlayer

Result

Gets or sets the side selected to handle authentication.

public AuthenticationSide Result { get; set; }

Property Value

AuthenticationSide