View Source Wax.ClientData (wax_ v0.6.7)
Link to this section Summary
Link to this section Types
@type hash() :: binary()
@type raw_string() :: String.t()
The raw string as returned by the javascript WebAuthn API
Example: {"challenge":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaY","clientExtensions":{},"hashAlgorithm":"SHA-256","origin":"http://localhost:4000","type":"webauthn.create"}
@type t() :: %Wax.ClientData{ challenge: binary(), origin: String.t(), token_binding: Wax.ClientData.TokenBinding.t(), type: :create | :get }