AlexaClientSDK
1.24.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <CBLAuthDelegateConfiguration.h>
Public Member Functions | |
std::string | getClientId () const |
std::string | getProductId () const |
std::string | getDeviceSerialNumber () const |
std::chrono::seconds | getRequestTimeout () const |
std::chrono::seconds | getAccessTokenRefreshHeadStart () const |
std::string | getLocale () const |
std::string | getRequestCodePairUrl () const |
std::string | getRequestTokenUrl () const |
std::string | getRefreshTokenUrl () const |
std::string | getScopeData () const |
Static Public Member Functions | |
static std::unique_ptr< CBLAuthDelegateConfiguration > | create (const avsCommon::utils::configuration::ConfigurationNode &configuration, const std::shared_ptr< avsCommon::utils::DeviceInfo > &deviceInfo) |
Class encapsulating configuration parameters for a CBLAuthDelegate.
|
static |
Create a CBLAuthDelegateConfiguration instance
configuration | The ConfigurationNode containing the configuration parameters for the new instance. |
deviceInfo | The deviceInfo instance. |
std::chrono::seconds alexaClientSDK::authorization::cblAuthDelegate::CBLAuthDelegateConfiguration::getAccessTokenRefreshHeadStart | ( | ) | const |
Get the duration before access token expiration to start refreshing the token.
std::string alexaClientSDK::authorization::cblAuthDelegate::CBLAuthDelegateConfiguration::getClientId | ( | ) | const |
Get the client ID.
std::string alexaClientSDK::authorization::cblAuthDelegate::CBLAuthDelegateConfiguration::getDeviceSerialNumber | ( | ) | const |
Get the device serial number.
std::string alexaClientSDK::authorization::cblAuthDelegate::CBLAuthDelegateConfiguration::getLocale | ( | ) | const |
Get the locale to use when prompting the user to authenticate the client to access AVS.
std::string alexaClientSDK::authorization::cblAuthDelegate::CBLAuthDelegateConfiguration::getProductId | ( | ) | const |
Get the product ID.
std::string alexaClientSDK::authorization::cblAuthDelegate::CBLAuthDelegateConfiguration::getRefreshTokenUrl | ( | ) | const |
Get the URL to use when refreshing an access token.
std::string alexaClientSDK::authorization::cblAuthDelegate::CBLAuthDelegateConfiguration::getRequestCodePairUrl | ( | ) | const |
Get the URL to use when requesting a code pair from LWA
.
LWA
. std::chrono::seconds alexaClientSDK::authorization::cblAuthDelegate::CBLAuthDelegateConfiguration::getRequestTimeout | ( | ) | const |
Get the request timeout.
std::string alexaClientSDK::authorization::cblAuthDelegate::CBLAuthDelegateConfiguration::getRequestTokenUrl | ( | ) | const |
Get the URL to use when requesting an initial access token from LWA
.
LWA
. std::string alexaClientSDK::authorization::cblAuthDelegate::CBLAuthDelegateConfiguration::getScopeData | ( | ) | const |
Get (as text) the 'scope_data' JSON object to send to LWA
when requesting a code pair.
LWA
when requesting a code pair. AlexaClientSDK 1.24.0 - Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0