Alexa Auto SDK
4.3
|
Public Types | |
using | AuthState = aace::alexa::AuthProviderEngineInterface::AuthState |
using | AuthError = aace::alexa::AuthProviderEngineInterface::AuthError |
Public Member Functions | |
virtual std::string | getAuthToken ()=0 |
virtual AuthState | getAuthState ()=0 |
virtual void | authFailure (const std::string &token) |
void | authStateChanged (AuthState authState, AuthError authError) |
AuthProvider should be extended to manage access tokens for AVS authorization and report client authorization state to the Engine.
Describes the state of client authorization with AVS
Describes an error during an attempt to authorize with AVS
|
pure virtual |
Returns the token used by the platform implementation for authorization with AVS. The platform implementation should retrieve an auth token if it does not have one.
|
pure virtual |
Returns the AVS authorization state of the platform implementation
|
inlinevirtual |
Notifies the platform implementation that the specified access token was used in an unauthorized request to AVS. AVS responded to this request with a 403 code indicating the token was not valid.
[in] | token | The access token used in an unauthorized request to AVS |
Notifies the Engine of a change in AVS authorization state in the platform implementation
[in] | authState | The new authorization state |
[in] | authError | The error state of the authorization attempt |
Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0