Package Index
|
Class Index
com.amazon.identity.auth.device
com.amazon.identity.auth.device.api
com.amazon.identity.auth.device.api.authorization
com.amazon.identity.auth.device.api.workflow
com.amazon.identity.auth.device.authorization.api
com.amazon.identity.auth.device.interactive
com.amazon.identity.auth.device.shared
com.amazon.identity.auth.device.workflow
Interfaces
Scope
Workflow
Classes
AuthCancellation
AuthorizationManager
AuthorizeListener
AuthorizeRequest
AuthorizeRequest.Builder
AuthorizeResult
CodePairListener
CodePairManager
CodePairResult
CreateCodePairRequest
CreateCodePairRequest.Builder
GetTokenListener
GetTokenRequest
GetTokenRequest.Builder
GetTokenResult
PollingTask
ProfileScope
ScopeFactory
User
WorkflowFactory
Enums
AuthCancellation.Cause
AuthorizeRequest.GrantType
Region
Package Index
|
Class Index
Summary:
Constructors
|
Methods
|
Inherited Methods
|
[Expand All]
public abstract class
CodePairListener
extends
Object
implements
Listener
<T, U>
java.lang.Object
↳
com.amazon.identity.auth.device.api.authorization.CodePairListener
Summary
Public Constructors
CodePairListener
()
Public Methods
abstract void
onError
(CodePairError error)
abstract void
onSuccess
(
CodePairResult
result)
[Expand]
Inherited Methods
From class
java.lang.Object
Object
clone
()
boolean
equals
(
Object
arg0)
void
finalize
()
final
Class
<?>
getClass
()
int
hashCode
()
final void
notify
()
final void
notifyAll
()
String
toString
()
final void
wait
(long arg0, int arg1)
final void
wait
(long arg0)
final void
wait
()
From interface
com.amazon.identity.auth.device.api.Listener
abstract void
onError
(U e)
There was an error during the API execution.
abstract void
onSuccess
(T response)
The API executed successfully.
Public Constructors
public
CodePairListener
()
Public Methods
public abstract void
onError
(CodePairError error)
public abstract void
onSuccess
(
CodePairResult
result)