1. このページの目的
本ページを使って、input要素の autocomplete 属性を利用したHTMLコードを試す。
2. autocomplete=`one-time-code`
説明
one-time-codeA one-time password (OTP) for verifying user identity that is used as an additional factor in a sign-in flow. Most commonly this is a code received via some out-of-channel mechanism, such as SMS, email, or authenticator application.
(日本語訳)
ログインフローで追加要素として使用する、ユーザー ID を確認するためのワンタイムパスワード (OTP)。一般的には、SMS、電子メール、認証アプリケーションなど、チャンネル外のメカニズムを通じて受信されるコードです。
サンプルコード
<form method="post" action="">
<input autocomplete="one-time-code">
<p><input type="submit" value="Submit"></p>
</form>