webauthn-0.1.1.0: Relying party (server) implementation of the WebAuthn 2 specification
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Crypto.WebAuthn.WebIDL

Description

| This module defines some types from the Web IDL specification

Synopsis

Documentation

type DOMString = Text Source #

(spec) The `DOMString` type corresponds to the set of all possible sequences of code units. Such sequences are commonly interpreted as UTF-16 encoded strings RFC2781 although this is not required. TODO: This implementation doesn't allow invalid UTF-16 codepoints, which probably makes it not work regarding https://www.w3.org/TR/webauthn-2/#sctn-strings Write a test case that doesn't work and find a better representation.

type USVString = Text Source #

(spec) The `USVString` type corresponds to the set of all possible sequences of Unicode scalar values, which are all of the Unicode code points apart from the surrogate code points. TODO: This implementation allows for surrogate code points. Figure out if this can violate the spec in any way.