AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::sampleApp::RevokeAuthorizationObserver Class Reference

#include <RevokeAuthorizationObserver.h>

Inheritance diagram for alexaClientSDK::sampleApp::RevokeAuthorizationObserver:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::sampleApp::RevokeAuthorizationObserver:
Collaboration graph
[legend]

Public Member Functions

 RevokeAuthorizationObserver (std::shared_ptr< registrationManager::RegistrationManagerInterface > manager)
 
RevokeAuthorizationObserverInterface Functions
void onRevokeAuthorization () override
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::RevokeAuthorizationObserverInterface
virtual ~RevokeAuthorizationObserverInterface ()=default
 

Detailed Description

Observes callbacks from revoke authorization requests and notifies the default client.

Constructor & Destructor Documentation

◆ RevokeAuthorizationObserver()

alexaClientSDK::sampleApp::RevokeAuthorizationObserver::RevokeAuthorizationObserver ( std::shared_ptr< registrationManager::RegistrationManagerInterface manager)

Constructor.

Parameters
managerThe registration manager providing logout functionality.

Member Function Documentation

◆ onRevokeAuthorization()

void alexaClientSDK::sampleApp::RevokeAuthorizationObserver::onRevokeAuthorization ( )
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.


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

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