diff options
author | 2019-12-09 02:25:25 +0100 | |
---|---|---|
committer | 2019-12-20 17:51:21 +0000 | |
commit | 9a4ec5a5793ce904333f6087cf31d7819206c101 (patch) | |
tree | 1aeb4d13352ff0f4b31a9f46fa5ab0fc761e1a69 /src/plugins/VshlCoreApi.h | |
parent | 01c999956ea5fba52c4eaf35998c023047587171 (diff) |
Add CBL processing
CBL: Code Based Linking in the case of Alexa voice
agent, or more generally Code Based Logging.
It provides a url and code which allows the user to
complete the authorization process and start using
the authorized voice services.
- add subscribeToLoginEvents verb
- add cbl events handling
- include new verb in vshl-core-api.json
Bug-AGL: SPEC-2981
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: If342d45638125682621cba707eac1d4ff5ad244c
(cherry picked from commit ed834a643e3843c0f805ea33363c9f2889d2bab3)
Diffstat (limited to 'src/plugins/VshlCoreApi.h')
-rw-r--r-- | src/plugins/VshlCoreApi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/VshlCoreApi.h b/src/plugins/VshlCoreApi.h index 5e56b75..eb90190 100644 --- a/src/plugins/VshlCoreApi.h +++ b/src/plugins/VshlCoreApi.h @@ -27,12 +27,15 @@ CTLP_INIT(plugin, ret); int onAuthStateEvent(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int onConnectionStateEvent(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int onDialogStateEvent(CtlSourceT* source, json_object* argsJ, json_object* queryJ); +int onLoginPairReceivedEvent(CtlSourceT* source, json_object* argsJ, json_object* queryJ); +int onLoginPairExpiredEvent(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int loadVoiceAgentsConfig(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int startListening(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int cancelListening(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int enumerateVoiceAgents(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int subscribe(CtlSourceT* source, json_object* argsJ, json_object* queryJ); int setDefaultVoiceAgent(CtlSourceT* source, json_object* argsJ, json_object* queryJ); +int subscribeToLoginEvents(CtlSourceT* source, json_object* argsJ, json_object* queryJ); #ifdef __cplusplus } |