trisquel-icecat/icecat/testing/web-platform/tests/interfaces/web-otp.idl

21 lines
536 B
Text

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: WebOTP API (https://wicg.github.io/web-otp/)
[Exposed=Window, SecureContext]
interface OTPCredential : Credential {
readonly attribute DOMString code;
};
partial dictionary CredentialRequestOptions {
OTPCredentialRequestOptions otp;
};
dictionary OTPCredentialRequestOptions {
sequence<OTPCredentialTransportType> transport = [];
};
enum OTPCredentialTransportType {
"sms",
};