summaryrefslogtreecommitdiffstats
path: root/htdocs/amazon.js
AgeCommit message (Collapse)AuthorFilesLines
2019-02-25Refactored VSHL into vshl-core and vshl-capabilities.Naveen Bobbili1-323/+0
vshl-core: This API is responsible for request arbitration. Verbs exposed are 1. startListening 2. cancelListening 3. subscribe 4. enumerateVoiceAgents 5. setDefaultVoiceAgent Used by applications to subscribe to dialog, connection and auth states of underlying low level voiceagent bindings. Used by applications to trigger voice recognition routine of the underlying low level voiceagent binding. vshl-capabilities: This API exposes publish and subscribe methods for all the speech framework domains/capabilities. For eg. navigation, phonecontrol etc. This API is used by apps and low level voice agent binding to subscribe and publish these capability messages whenever applicable. The code for this is agl-service-voice-high-capabilities repository. This specific commit is for vshl-core API. Change-Id: I1101db19b57ee918482a178843641b088508ac5d Signed-off-by: Naveen Bobbili <nbobbili@amazon.com>
2018-12-06Code Base Linking based authentication implementationguppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.36.99.46.99.3ces2019Naveen Bobbili1-0/+323
for Alexa Voice Agent. Using the VSHL Tester HTML5 app 1. Click Enumerate Agents will show Login With Amazon button if the low level Alexa voice agent is not authenticated. 2. Clicking Login with Amazon button will start the login process. A CBL link will be displayed using which the user can authenticate using Amazon account. 3. The app will automatically fetch the access token needed by the low-level Alexa Voice Agent and pass it to it using the setAuthToken exposed by the agent. Change-Id: I327e9b77a2f296a268530df00804cbef60cf0c3c Signed-off-by: Naveen Bobbili <nbobbili@amazon.com>