AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkSampleApplicationInterfaces::UIAuthNotifierInterface Class Referenceabstract

#include <UIAuthNotifierInterface.h>

Inheritance diagram for alexaClientSDK::acsdkSampleApplicationInterfaces::UIAuthNotifierInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~UIAuthNotifierInterface ()=default
 
virtual void notifyAuthorizationRequest (const std::string &url, const std::string &code)=0
 
virtual void notifyAuthorizationStateChange (avsCommon::sdkInterfaces::AuthObserverInterface::State state)=0
 

Constructor & Destructor Documentation

◆ ~UIAuthNotifierInterface()

virtual alexaClientSDK::acsdkSampleApplicationInterfaces::UIAuthNotifierInterface::~UIAuthNotifierInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ notifyAuthorizationRequest()

virtual void alexaClientSDK::acsdkSampleApplicationInterfaces::UIAuthNotifierInterface::notifyAuthorizationRequest ( const std::string &  url,
const std::string &  code 
)
pure virtual

Notify user interface about the authorization request. The request url and code will be used by the user to authorize.

Parameters
urlThe URL that the user needs to navigate to.
codeThe code that the user needs to enter once authorized.

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIClient.

◆ notifyAuthorizationStateChange()

virtual void alexaClientSDK::acsdkSampleApplicationInterfaces::UIAuthNotifierInterface::notifyAuthorizationStateChange ( avsCommon::sdkInterfaces::AuthObserverInterface::State  state)
pure virtual

Notify authorization state changes to GUI.

Parameters
stateChanged authorization state.

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIClient.


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