Skip to content

Class AuthenticationResult

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

public record AuthenticationResult : IEquatable<AuthenticationResult>

Inheritance

objectAuthenticationResult

Implements

IEquatable<AuthenticationResult>

Inherited Members

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

Constructors

AuthenticationResult(bool, string?)

public AuthenticationResult(bool IsAuthenticated, string? Message = null)

Parameters

IsAuthenticated bool

Message string?

Properties

AlreadyAuthenticated

public static AuthenticationResult AlreadyAuthenticated { get; }

Property Value

AuthenticationResult

Authenticated

public static AuthenticationResult Authenticated { get; }

Property Value

AuthenticationResult

IsAuthenticated

public bool IsAuthenticated { get; init; }

Property Value

bool

Message

public string? Message { get; init; }

Property Value

string?

NoResult

public static AuthenticationResult NoResult { get; }

Property Value

AuthenticationResult

NotAuthenticatedPlayer

public static AuthenticationResult NotAuthenticatedPlayer { get; }

Property Value

AuthenticationResult

NotAuthenticatedServer

public static AuthenticationResult NotAuthenticatedServer { get; }

Property Value

AuthenticationResult