csharp
public readonly record struct AuthenticationDecisionAn authenticator's answer.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
public AuthenticationOutcome OutcomeAccept, reject, or not yet.
public string IdentityWho the server should consider them to be, on Accept.
public string ReasonWhy not, on Reject. Sent to the client.
public static AuthenticationDecision AcceptLet them in, as nobody in particular.
public static AuthenticationDecision PendingNot decided yet. The session will ask again next tick, until it times out.
Methods (3)
public AuthenticationDecision(AuthenticationOutcome Outcome, string Identity, string Reason)An authenticator's answer.
public static AuthenticationDecision As(string identity)Let them in as somebody.
public static AuthenticationDecision Refuse(string reason)Refuse them.
Used by (5)
- ISessionAuthenticatorVixen.Net
- NetworkSessionVixen.Net
- ScriptedAuthenticatorVixen.Net.Tests
- SessionTestsVixen.Net.Tests
- PlayerAdmissionVixen.Live.Realm