SignInValueSpec
Stay organized with collections
Save and categorize content based on your preferences.
Passed from the app as input for actions.intent.SIGN_IN
.
JSON representation |
{
"optContext": string
} |
Fields |
optContext |
string
The optional context why the app needs to ask the user to sign in, as a prefix of a prompt for user consent, e.g. "To track your exercise", or "To check your account balance".
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 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-18 UTC."],[[["The `actions.intent.SIGN_IN` intent uses JSON input with an optional `optContext` field."],["`optContext` provides context for the sign-in request, aiding user consent by explaining the reason, for example, \"To track your exercise\"."]]],["The provided JSON schema outlines the input for the `actions.intent.SIGN_IN` intent. It uses a single field, `optContext`, which is a string. This optional string provides context to the user regarding why sign-in is required. Examples include \"To track your exercise\" or \"To check your account balance,\" and is intended as a prefix in the user consent prompt.\n"]]