AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <LWAAuthorizationConfiguration.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 |
std::string | getCustomerProfileUrl () const |
Static Public Member Functions | |
static std::unique_ptr< LWAAuthorizationConfiguration > | create (const avsCommon::utils::configuration::ConfigurationNode &configuration, const std::shared_ptr< avsCommon::utils::DeviceInfo > &deviceInfo, const std::string &configRootKey="") |
Class encapsulating configuration parameters for LWAAuthorizationAdapter
.
|
static |
Create an instance.
configuration | The ConfigurationNode containing the configuration parameters for the new instance. |
deviceInfo | The deviceInfo instance. |
configRootKey | The config root to use. |
std::chrono::seconds alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::getAccessTokenRefreshHeadStart | ( | ) | const |
Get the duration before access token expiration to start refreshing the token.
std::string alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::getClientId | ( | ) | const |
Get the client ID.
std::string alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::getCustomerProfileUrl | ( | ) | const |
Get the URL to use when getting the user profile.
std::string alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::getDeviceSerialNumber | ( | ) | const |
Get the device serial number.
std::string alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::getLocale | ( | ) | const |
Get the locale to use when prompting the user to authenticate the client to access AVS.
std::string alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::getProductId | ( | ) | const |
Get the product ID.
std::string alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::getRefreshTokenUrl | ( | ) | const |
Get the URL to use when refreshing an access token.
std::string alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::getRequestCodePairUrl | ( | ) | const |
Get the URL to use when requesting a code pair from LWA
.
LWA
. std::chrono::seconds alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::getRequestTimeout | ( | ) | const |
Get the request timeout.
std::string alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::getRequestTokenUrl | ( | ) | const |
Get the URL to use when requesting an initial access token from LWA
.
LWA
. std::string alexaClientSDK::acsdkAuthorization::lwa::LWAAuthorizationConfiguration::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 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0