![]() |
Alexa Auto SDK
2.3.1
|
Classes | |
enum | AuthError |
enum | AuthState |
Public Member Functions | |
String | getAuthToken () |
AuthState | getAuthState () |
void | authFailure (String token) |
final void | authStateChange (AuthState authState, AuthError authError) |
AuthProvider should be extended to manage access tokens for AVS authorization and report client authorization state to the Engine.
String com.amazon.aace.alexa.AuthProvider.getAuthToken | ( | ) |
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.
AuthState com.amazon.aace.alexa.AuthProvider.getAuthState | ( | ) |
Returns the AVS authorization state of the platform implementation
void com.amazon.aace.alexa.AuthProvider.authFailure | ( | String | token | ) |
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.
token | The access token used in an unauthorized request to AVS |
Alexa Auto SDK 2.3.1 - Copyright 2017-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0