GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for WebOTP API.

Developer library 6

WebOTP API

WebOTP API The **WebOTP API** provides a streamlined user experience for web apps to verify that a phone number belongs to a user when using it as a sign-in factor. WebOTP is an extension of the [Credential Management API](/docs/Web/API/Credential_Management_API). The verification is done via a two-step process: 1. The app client requests a one-time password (OTP), which is obtained from a specially-formatted SMS

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/WebOTP_API

Credential types

rds and legacy federated credentials. > - [Federated Credential Management API](https://w3c-fedid.github.io/FedCM/) defines the new federated credentials. > - [WebOTP API](https://wicg.github.io/web-otp/) defines OTP credentials. > - [Web Authentication API](https://w3c.github.io/webauthn/) defines Web Authentication assertions. ## Passwords > [!NOTE] > Most browsers do not support this credential type and it is no

OTPCredential

WebOTP API The **`OTPCredential`** interface of the is returned when a WebOTP navigator.credentials.get() call (i.e., invoked with an `otp` option) fulfills. It includes a `code` property that contains the retrieved one-time password (OTP). ## Instance properties _This interface also inherits properties from Credential._ - OTPCredential.code - : The one-time password (OTP). ## Instance methods None. ##

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/OTPCredential

OTPCredential: code property

WebOTP API The **`code`** read-only property of the OTPCredential interface contains the one-time password (OTP). ## Value A string containing the OTP. ## Examples The below code triggers the browser's permission flow when an SMS message arrives. If permission is granted, then the promise resolves with an `OTPCredential` object. The contained `code` value is then set as the value of an input form element, which

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/OTPCredential/code

Permissions-Policy header

on) functionality of the [Web Speech API](/docs/Web/API/Web_Speech_API). - otp-credentials - : Controls whether the current document is allowed to use the [WebOTP API](/docs/Web/API/WebOTP_API) to request a one-time password (OTP) from a specially-formatted SMS message sent by the app's server, i.e., via navigator.credentials.get({otp: ..., ...}). - payment - : Controls whether the current document is allowed

Permissions-Policy: otp-credentials directive

The HTTP Permissions-Policy header `otp-credentials` directive controls whether the current document is allowed to use the [WebOTP API](/docs/Web/API/WebOTP_API) to request a one-time password (OTP) from a specially-formatted SMS message sent by the app's server, i.e., via navigator.credentials.get({otp: ..., ...}). Specifically, where a defined policy blocks the use of this feature, the Promise returned by `navig

JSON results · Services directory