AMZNAuthorizeResult Class Reference
Inherits from | NSObject |
---|---|
Declared in | AMZNAuthorizeResult.h |
Overview
This class defines the result object of the authorize:handler method defined in AMZNAuthorizationManager. The result object is passed into the AMZNAuthorizationRequestHandler block callback.
token
A valid access token contains permissions to requested scopes in previous authorize:handler API call.
@property (nonatomic, strong) NSString *token
Availability
3.0
Discussion
A valid access token contains permissions to requested scopes in previous authorize:handler API call.
Declared In
AMZNAuthorizeResult.h
authorizationCode
A valid authorization code along with code verifier can be exchanged for an access token pair that contains permissions to requested scopes in authorize:withHandler API call.
@property (nonatomic, strong) NSString *authorizationCode
Availability
3.0
Discussion
A valid authorization code along with code verifier can be exchanged for an access token pair that contains permissions to requested scopes in authorize:withHandler API call.
Declared In
AMZNAuthorizeResult.h
clientId
The client id is needed as one of the parameter while exchanging authorization code for token pair
@property (nonatomic, strong) NSString *clientId
Availability
3.0
Discussion
The client id is needed as one of the parameter while exchanging authorization code for token pair
Declared In
AMZNAuthorizeResult.h
redirectUri
The redirect uri is needed as one of the parameter while exchanging the authorization code for token pair
@property (nonatomic, strong) NSString *redirectUri
Availability
3.0
Discussion
The redirect uri is needed as one of the parameter while exchanging the authorization code for token pair
Declared In
AMZNAuthorizeResult.h
user
An AMZNUser object contains user’s profile information. This object is only available if the app requested scopes that contain permissions to customer’s profile data. Refer to AMZNProfileScope to find a list of scopes in such type.
@property (nonatomic, strong, nullable) AMZNUser *user
Availability
3.0
Discussion
An AMZNUser object contains user’s profile information. This object is only available if the app requested scopes that contain permissions to customer’s profile data. Refer to AMZNProfileScope to find a list of scopes in such type.
Declared In
AMZNAuthorizeResult.h