AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <SQLiteCBLAuthDelegateStorage.h>
Public Member Functions | |
~SQLiteCBLAuthDelegateStorage () | |
CBLAuthDelegateStorageInterface method overrides. | |
bool | createDatabase () override |
bool | open () override |
bool | setRefreshToken (const std::string &refreshToken) override |
bool | clearRefreshToken () override |
bool | getRefreshToken (std::string *refreshToken) override |
bool | clear () override |
Static Public Member Functions | |
static std::shared_ptr< CBLAuthDelegateStorageInterface > | createCBLAuthDelegateStorageInterface (const std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode > &configurationRoot, const std::shared_ptr< cryptoInterfaces::CryptoFactoryInterface > &cryptoFactory, const std::shared_ptr< cryptoInterfaces::KeyStoreInterface > &keyStore) |
An implementation of CBLAuthDelegateStorageInterface using SQLite.
IMPORTANT NOTE: Your token storage MUST be encrypted. Note that in this default SDK implementation, we do not provide encryption.
alexaClientSDK::authorization::cblAuthDelegate::SQLiteCBLAuthDelegateStorage::~SQLiteCBLAuthDelegateStorage | ( | ) |
Destructor
|
override |
|
override |
|
static |
Factory method for creating a storage object for CBLAuthDelegate based on an SQLite database.
configurationRoot | The global config object. |
cryptoFactory | Crypto factory interface. |
keyStore | Key store interface. |
|
override |
|
override |
|
override |
|
override |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0