web-otp.idl (536B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: WebOTP API (https://wicg.github.io/web-otp/) 5 6 [Exposed=Window, SecureContext] 7 interface OTPCredential : Credential { 8 readonly attribute DOMString code; 9 }; 10 11 partial dictionary CredentialRequestOptions { 12 OTPCredentialRequestOptions otp; 13 }; 14 15 dictionary OTPCredentialRequestOptions { 16 sequence<OTPCredentialTransportType> transport = []; 17 }; 18 19 enum OTPCredentialTransportType { 20 "sms", 21 };