#include <StubStorage.h>
◆ clear()
bool alexaClientSDK::acsdkAuthorization::lwa::test::StubStorage::clear |
( |
| ) |
|
|
overridevirtual |
◆ clearRefreshToken()
bool alexaClientSDK::acsdkAuthorization::lwa::test::StubStorage::clearRefreshToken |
( |
| ) |
|
|
overridevirtual |
◆ createDatabase()
bool alexaClientSDK::acsdkAuthorization::lwa::test::StubStorage::createDatabase |
( |
| ) |
|
|
overridevirtual |
◆ getRefreshToken()
bool alexaClientSDK::acsdkAuthorization::lwa::test::StubStorage::getRefreshToken |
( |
std::string * |
refreshToken | ) |
|
|
overridevirtual |
◆ getUserId()
bool alexaClientSDK::acsdkAuthorization::lwa::test::StubStorage::getUserId |
( |
std::string * |
userId | ) |
|
|
overridevirtual |
◆ open()
bool alexaClientSDK::acsdkAuthorization::lwa::test::StubStorage::open |
( |
| ) |
|
|
overridevirtual |
- Deprecated:
- The recommendation is to use use openOrCreate().
Open a database with the given filepath. If this object is already managing an open database, or the file does not exist, or there is a problem opening the database, this function returns false.
- Returns
true
If the database is opened ok, false
if either the file does not exist, if this object is already managing an open database, or if there is another internal reason the database could not be opened.
Implements alexaClientSDK::acsdkAuthorizationInterfaces::lwa::LWAAuthorizationStorageInterface.
◆ openOrCreate()
bool alexaClientSDK::acsdkAuthorization::lwa::test::StubStorage::openOrCreate |
( |
| ) |
|
|
overridevirtual |
◆ setRefreshToken()
bool alexaClientSDK::acsdkAuthorization::lwa::test::StubStorage::setRefreshToken |
( |
const std::string & |
refreshToken | ) |
|
|
overridevirtual |
◆ setUserId()
bool alexaClientSDK::acsdkAuthorization::lwa::test::StubStorage::setUserId |
( |
const std::string & |
userId | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- /workplace/avs-device-sdk/core/Authorization/acsdkAuthorization/test/include/acsdkAuthorization/LWA/test/StubStorage.h
- /workplace/avs-device-sdk/core/Authorization/acsdkAuthorization/test/StubStorage.cpp
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0