web_authn_lite v0.1.4 WebAuthnLite.AuthenticatorData.Flags

Struct for authenticator flags

see https://www.w3.org/TR/webauthn/#flags

Link to this section Summary

Functions

parse bitstring and return struct

Link to this section Types

Link to this type t()
t() :: %WebAuthnLite.AuthenticatorData.Flags{
  at: boolean(),
  ed: boolean(),
  flags: binary(),
  up: boolean(),
  uv: boolean()
}

Link to this section Functions

Link to this function from_binary(flags)
from_binary(flags :: binary()) :: {:ok, t()} | {:error, :invalid_format}

parse bitstring and return struct.