AlexaClientSDK  1.24.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
CBLAuthDelegateConfiguration.cpp File Reference
#include <rapidjson/document.h>
#include <rapidjson/error/en.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <AVSCommon/Utils/DeviceInfo.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include "CBLAuthDelegate/CBLAuthDelegateConfiguration.h"
Include dependency graph for CBLAuthDelegateConfiguration.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::authorization
 
 alexaClientSDK::authorization::cblAuthDelegate
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string alexaClientSDK::authorization::cblAuthDelegate::TAG ("CBLAuthDelegateConfiguration")
 String to identify log entries originating from this file. More...
 

Variables

static const std::string alexaClientSDK::authorization::cblAuthDelegate::CONFIG_KEY_CBL_AUTH_DELEGATE = "cblAuthDelegate"
 Name of ConfigurationNode for CBLAuthDelegate. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::CONFIG_KEY_LWA_URL = "lwaUrl"
 Name of lwaURL value in CBLAuthDelegate's ConfigurationNode. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::CONFIG_KEY_REQUEST_TIMEOUT = "requestTimeout"
 Name of requestTimeout value in CBLAuthDelegate's ConfigurationNode. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::CONFIG_KEY_ACCESS_TOKEN_REFRESH_HEAD_START = "accessTokenRefreshHeadStart"
 Name of accessTokenRefreshHeadStart value in CBLAuthDelegate's ConfigurationNode. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::CONFIG_KEY_DEVICE_SETTINGS = "deviceSettings"
 Name of ConfigurationNode for deviceSettings. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::SETTINGS_DEFAULT_SETTINGS_ROOT_KEY = "defaultAVSClientSettings"
 Name of ConfigurationNode for default values under settings. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::CONFIG_KEY_DEFAULT_LOCALE = "defaultLocale"
 Name of locale value in in deviceSettings's ConfigurationNode. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::CONFIG_VALUE_DEFAULT_LOCALE = "en-US"
 Default value for settings.locale. More...
 
static const char alexaClientSDK::authorization::cblAuthDelegate::JSON_KEY_ALEXA_ALL [] = "alexa:all"
 Key for alexa:all values in JSON sent to LWA. More...
 
static const char alexaClientSDK::authorization::cblAuthDelegate::JSON_KEY_PRODUCT_ID [] = "productID"
 Key for productID values in JSON sent to LWA. More...
 
static const char alexaClientSDK::authorization::cblAuthDelegate::JSON_KEY_PRODUCT_INSTANCE_ATTRIBUTES [] = "productInstanceAttributes"
 Key for productInstanceAttributes values in JSON sent to LWA. More...
 
static const char alexaClientSDK::authorization::cblAuthDelegate::JSON_KEY_DEVICE_SERIAL_NUMBER [] = "deviceSerialNumber"
 Key for deviceSerialNumber values in JSON sent to LWA. More...
 
static const std::chrono::minutes alexaClientSDK::authorization::cblAuthDelegate::DEFAULT_REQUEST_TIMEOUT = std::chrono::minutes(1)
 Default value for configured requestTimeout. More...
 
static const std::chrono::minutes alexaClientSDK::authorization::cblAuthDelegate::DEFAULT_ACCESS_TOKEN_REFRESH_HEAD_START = std::chrono::minutes(10)
 Default value for configured accessTokenRefreshHeadStart. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::DEFAULT_LWA_BASE_URL = "https://api.amazon.com/auth/O2/"
 Default for configured base URL for LWA requests. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::REQUEST_CODE_PAIR_PATH = "create/codepair"
 Path suffix for URL used in code pair requests to LWA. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::REQUEST_TOKEN_PATH = "token"
 Path suffix for URL used in code pair token requests to LWA. More...
 
static const std::string alexaClientSDK::authorization::cblAuthDelegate::REFRESH_TOKEN_PATH = "token"
 Path suffix for URl used in token refresh requests to LWA. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

AlexaClientSDK 1.24.0 - Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0