Vixen
02b45cc4
csharp
public readonly ref struct AuthenticationRequest

What a connection is asking to be let in with.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (3)

  • public ConnectionId Connection

    The connection it arrived on.

  • public ReadOnlySpan<byte> Payload

    Whatever the client sent — a platform ticket, a JWT, a lobby code. Opaque here on purpose: the session does not know what your identity provider is and should not learn.

  • public bool IsReconnect

    Whether the client also presented a reconnect token the server recognised. An authenticator may want to skip a round trip to its identity provider for those.

Methods (1)

  • public AuthenticationRequest(ConnectionId connection, ReadOnlySpan<byte> payload, bool isReconnect)

    Creates a request.

Used by (4)

  • ISessionAuthenticatorVixen.Net
  • NetworkSessionVixen.Net
  • ScriptedAuthenticatorVixen.Net.Tests
  • PlayerAdmissionVixen.Live.Realm