Vixen
02b45cc4
csharp
public readonly record struct AuthorityResult

What an authority decided about a credential.

Read the guide page for this →

Fields and properties (3)

  • public bool Ok

    Whether it recognised them.

  • public string Handle

    Who it says they are. Unique within the authority, and opaque to the gate.

  • public string Detail

    Why not, when it did not. Shown to the player, so say something useful.

Methods (3)

  • public AuthorityResult(bool Ok, string Handle, string Detail)

    What an authority decided about a credential.

  • public static AuthorityResult Accept(string handle)

    They are who they say.

  • public static AuthorityResult Refuse(string detail)

    They are not.

Used by (3)

  • DevelopmentAuthorityVixen.Live.Gate
  • GateServiceVixen.Live.Gate
  • IAccountAuthorityVixen.Live.Gate