AMZNAuthorizationGrantType Constants Reference
Declared in | AMZNAuthorizeRequest.h |
---|
AMZNAuthorizationGrantType
Definition
typedef NS_ENUM(NSUInteger, AMZNAuthorizationGrantType ) {
AMZNAuthorizationGrantTypeToken = 0,
AMZNAuthorizationGrantTypeCode = 1,
};
Constants
AMZNAuthorizationGrantTypeToken
-
AMZNAuthorizationGrantTypeToken: An OAuth 2.0 access token. When requesting an access token, Login With Amazon SDK will persist this token and refresh it when necessary on your behalf. AMZNAuthorizeRequest will default to use AMZNAuthorizationGrantTypeToken if no interactive strategy is specified by caller.
Available in 3.0
Declared In
AMZNAuthorizeRequest.h
. AMZNAuthorizationGrantTypeCode
-
AMZNAuthorizationGrantTypeCode: An OAuth 2.0 authorization code grant. Login With Amazon SDK does not persist this grant and does not allow access to use Login With Amazon-enabled APIs that require authorization.
Available in 3.0
Declared In
AMZNAuthorizeRequest.h
.