Wax.ClientData (wax_ v0.3.0) View Source
Link to this section Summary
Link to this section Types
Specs
hash() :: binary()
Specs
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"}
Specs
t() :: %Wax.ClientData{
challenge: binary(),
origin: String.t(),
token_binding: Wax.ClientData.TokenBinding.t(),
type: :create | :get
}