OtpVerification
Stay organized with collections
Save and categorize content based on your preferences.
Object that encapsulates the OTP verification response.
JSON representation |
{
"sendOtpRequestId": string,
"otp": string
} |
Fields |
sendOtpRequestId |
string
REQUIRED: This is the requestId generated by Google during the sendOtp call which this request is associated with.
|
otp |
string
REQUIRED: This is the OTP the user provided if this call was preceded by a sendOtp call
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-03 UTC."],[[["\u003cp\u003eThe OTP verification response is encapsulated within a JSON object containing \u003ccode\u003esendOtpRequestId\u003c/code\u003e and \u003ccode\u003eotp\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003esendOtpRequestId\u003c/code\u003e is a required field representing the ID generated during the initial OTP send request.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eotp\u003c/code\u003e is a required field containing the One-Time Password provided by the user.\u003c/p\u003e\n"]]],["The core content defines a JSON object for OTP verification responses. It requires two string fields: `sendOtpRequestId`, which is the Google-generated request ID from the preceding `sendOtp` call, and `otp`, representing the user-provided OTP from that same call. Both fields are mandatory for a valid response object.\n"],null,["# OtpVerification\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nObject that encapsulates the OTP verification response.\n\n| JSON representation |\n|-------------------------------------------------------|\n| ``` { \"sendOtpRequestId\": string, \"otp\": string } ``` |\n\n| Fields ||\n|--------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| `sendOtpRequestId` | `string` **REQUIRED** : This is the `requestId` generated by Google during the `sendOtp` call which this request is associated with. |\n| `otp` | `string` **REQUIRED** : This is the OTP the user provided if this call was preceded by a `sendOtp` call |"]]