![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
An observer interface used for callbacks when authorizing using CBL in LWAAuthorizationAdapterInterface
.
More...
#include <CBLAuthorizationObserverInterface.h>
Classes | |
struct | CustomerProfile |
An optional struct that may return additional information. More... | |
Public Member Functions | |
virtual | ~CBLAuthorizationObserverInterface ()=default |
Destructor. More... | |
virtual void | onRequestAuthorization (const std::string &url, const std::string &code)=0 |
virtual void | onCheckingForAuthorization ()=0 |
virtual void | onCustomerProfileAvailable (const CustomerProfile &customerProfile)=0 |
An observer interface used for callbacks when authorizing using CBL in LWAAuthorizationAdapterInterface
.
|
virtualdefault |
Destructor.
|
pure virtual |
Legacy API for notifying the application when token requests are being made.
This notification can be noisy, a preferred alternative is for applications to observe AuthObserverInterface::State::AUTHORIZING
via AuthObserverInterface::onAuthStateChange
.
Implemented in alexaClientSDK::acsdkSampleApplicationCBLAuthRequester::SampleApplicationCBLAuthRequester.
|
pure virtual |
A callback if CustomerProfile is available.
customerProfile | The customerProfile that's returned. |
Implemented in alexaClientSDK::acsdkSampleApplicationCBLAuthRequester::SampleApplicationCBLAuthRequester.
|
pure virtual |
A callback that requests the observer to display the following information to the user as part of the CBL process.
url | The url to be displayed. |
code | The CBL code. |
Implemented in alexaClientSDK::acsdkSampleApplicationCBLAuthRequester::SampleApplicationCBLAuthRequester.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0