AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsGatewayManager::test::MockAuthDelegate Class Reference
Inheritance diagram for alexaClientSDK::avsGatewayManager::test::MockAuthDelegate:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsGatewayManager::test::MockAuthDelegate:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD1 (addAuthObserver, void(std::shared_ptr< AuthObserverInterface >))
 
 MOCK_METHOD1 (removeAuthObserver, void(std::shared_ptr< AuthObserverInterface >))
 
 MOCK_METHOD0 (getAuthToken, std::string())
 
 MOCK_METHOD1 (onAuthFailure, void(const std::string &))
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::AuthDelegateInterface
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 std::string getAuthToken ()=0
 
virtual void onAuthFailure (const std::string &token)=0
 

Member Function Documentation

◆ MOCK_METHOD0()

alexaClientSDK::avsGatewayManager::test::MockAuthDelegate::MOCK_METHOD0 ( getAuthToken  ,
std::string()   
)

◆ MOCK_METHOD1() [1/3]

alexaClientSDK::avsGatewayManager::test::MockAuthDelegate::MOCK_METHOD1 ( addAuthObserver  ,
void(std::shared_ptr< AuthObserverInterface >)   
)

◆ MOCK_METHOD1() [2/3]

alexaClientSDK::avsGatewayManager::test::MockAuthDelegate::MOCK_METHOD1 ( removeAuthObserver  ,
void(std::shared_ptr< AuthObserverInterface >)   
)

◆ MOCK_METHOD1() [3/3]

alexaClientSDK::avsGatewayManager::test::MockAuthDelegate::MOCK_METHOD1 ( onAuthFailure  ,
void(const std::string &)   
)

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0