java.lang.Object | |
↳ | com.amazon.identity.auth.device.api.authorization.AuthorizeListener |
This is the listener for AuthorizeRequest
. Implement and register this listener using
registerListener(InteractiveListener, ?, ?>)
to receive callbacks from the
authorize(AuthorizeRequest)
API.{@since 3.0
}
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Do not call this API, it is for internal SDK usage only.
| |||||||||||
Will be called when the authorization flow is cancelled by the user.
| |||||||||||
Will be called for the following OAuth-related errors upon authorization failure:
If the APIKey is incorrect,
ERROR_ACCESS_DENIED will be returned. | |||||||||||
Do not call this API, it is for internal SDK usage only.
| |||||||||||
Do not call this API, it is for internal SDK usage only.
| |||||||||||
Do not call this API, it is for internal SDK usage only.
| |||||||||||
Will be called when a call to
authorize(AuthorizeRequest) completes. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Do not call this API, it is for internal SDK usage only.
Will be called when the authorization flow is cancelled by the user. Dismissal of the native browser before authorization is complete will not be detected.
cancellation | Describes the cancellation of the authorization flow. |
---|
Will be called for the following OAuth-related errors upon authorization failure:
If the APIKey is incorrect,ERROR_ACCESS_DENIED
will be returned.
Any other possible OAuth-related errors will be encapsulated in a
ERROR_SERVER_REPSONSE
.
e | The error object describing the failure. |
---|
Do not call this API, it is for internal SDK usage only.
Do not call this API, it is for internal SDK usage only.
Do not call this API, it is for internal SDK usage only.
Will be called when a call to authorize(AuthorizeRequest)
completes.
result | The data requested by AuthorizeRequest .
|
---|