WebAuthn authentication ceremony helpers.
Summary
Types
Functions
@spec handle_sign_count( non_neg_integer(), non_neg_integer(), Sigra.Passkeys.SignCountPolicy.policy(), map() ) :: :ok | {:regression, Sigra.Passkeys.SignCountPolicy.policy(), map()}
@spec new_challenge( Sigra.Config.t(), keyword() ) :: Wax.Challenge.t()
@spec verify(Sigra.Config.t(), map(), assertion(), keyword()) :: {:ok, struct(), Wax.AuthenticatorData.t()} | {:error, :credential_not_owned} | {:error, term()}