![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MockAuthDelegate.h>
Public Member Functions | |
void | setAuthToken (std::string authToken) |
AuthDelegateInterface methods | |
MOCK_METHOD1 (addAuthObserver, void(std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface >)) | |
MOCK_METHOD1 (removeAuthObserver, void(std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface >)) | |
std::string | getAuthToken () |
MOCK_METHOD1 (onAuthFailure, void(const std::string &token)) | |
![]() | |
virtual | ~AuthDelegateInterface ()=default |
virtual void | addAuthObserver (std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface > observer)=0 |
virtual void | removeAuthObserver (std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface > observer)=0 |
virtual void | onAuthFailure (const std::string &token)=0 |
|
inlinevirtual |
Get the current LWA authorization token.
Implements alexaClientSDK::avsCommon::sdkInterfaces::AuthDelegateInterface.
alexaClientSDK::acl::test::MockAuthDelegate::MOCK_METHOD1 | ( | addAuthObserver | , |
void(std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface >) | |||
) |
alexaClientSDK::acl::test::MockAuthDelegate::MOCK_METHOD1 | ( | removeAuthObserver | , |
void(std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface >) | |||
) |
alexaClientSDK::acl::test::MockAuthDelegate::MOCK_METHOD1 | ( | onAuthFailure | , |
void(const std::string &token) | |||
) |
|
inline |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0