![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <RevokeAuthorizationObserver.h>
Public Member Functions | |
RevokeAuthorizationObserver (std::shared_ptr< registrationManager::RegistrationManagerInterface > manager) | |
RevokeAuthorizationObserverInterface Functions | |
void | onRevokeAuthorization () override |
![]() | |
virtual | ~RevokeAuthorizationObserverInterface ()=default |
Observes callbacks from revoke authorization requests and notifies the default client.
alexaClientSDK::sampleApp::RevokeAuthorizationObserver::RevokeAuthorizationObserver | ( | std::shared_ptr< registrationManager::RegistrationManagerInterface > | manager | ) |
Constructor.
manager | The registration manager providing logout functionality. |
|
overridevirtual |
Used to notify the observer of revoke authorization requests. The client is expected to clear access tokens and any registration information the client may hold. It should put itself back into the registration flow, if appropriate for the device (Alexa For Business devices).
Implements alexaClientSDK::avsCommon::sdkInterfaces::RevokeAuthorizationObserverInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0