SMS User Consent API は SMS Retriever API を補完するもので、1 つの SMS メッセージの内容へのアクセスを許可するようアプリがユーザーに要求できるようにしています。ユーザーが同意すると、アプリはメッセージ本文全体にアクセスして、SMS 検証を自動的に完了します。
SMS User Consent API のユーザーフロー
SMS User Consent API を使用してワンタイム コードを自動的に入力する場合、ユーザーは 1 つの SMS メッセージの読み取り権限をアプリに付与するよう求められます。SMS User Consent API を使用すると、ユーザーに次の画面が表示されます。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2023-12-01 UTC。"],[[["The SMS User Consent API enables apps to request user permission to access a single SMS message for auto-completion of SMS verification, offering a streamlined experience when the SMS Retriever API isn't suitable."],["Upon receiving an SMS verification code, users are prompted to share the message content with the app, allowing for automatic code entry if they consent."],["The API requires developers to implement a flow involving backend server interaction, initiating SMS User Consent, requesting SMS verification, and handling user consent or manual code entry."],["If the user grants consent, the app receives the entire SMS message, facilitating automatic parsing and completion of the verification process."]]],[]]