java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.amazon.identity.auth.device.api.authorization.AuthorizeRequest.GrantType |
The different kinds of authorization grants that can be requested from Login With Amazon. An authorization grant is a credential representing the access to resources that the user has granted.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AuthorizeRequest.GrantType | ACCESS_TOKEN | An OAuth 2.0 access token. | |||||||||
AuthorizeRequest.GrantType | AUTHORIZATION_CODE | An OAuth 2.0 authorization code grant. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
An OAuth 2.0 access token. When requesting an access token, Login With Amazon will persist this token and refresh it when necessary on your behalf.
An OAuth 2.0 authorization code grant. Login With Amazon does not persist this grant and does not allow access to use Login With Amazon-enabled APIs that require authorization.