APIResult Class Reference
Inherits from | NSObject |
---|---|
Declared in | AIAuthenticationDelegate.h |
result
The result object returned from the API on success. The API result can be nil
, an NSDictionary
, or an NSString
depending upon which API created the APIResult.
@property (strong) id result
Availability
1.0
Discussion
The result object returned from the API on success. The API result can be nil
, an NSDictionary
, or an NSString
depending upon which API created the APIResult.
[AIMobileLib authorizeUserForScopes:delegate:]
: Passesnil
as the result to the delegate.[AIMobileLib getAccessTokenForScopes:withOverrideParams:delegate:]
: Passes an access token as anNSString
object to the delegate.[AIMobileLib clearAuthorizationState:]
: Passes nil as the result to the delegate.[AIMobileLib getProfile:]
: Passes profile data in anNSDictionary
object to the delegate. See the API description for information on the key:value pairs expected in profile dictionary.
Declared In
AIAuthenticationDelegate.h
api
The API returning the result.
@property API api
Availability
1.0
Discussion
The API returning the result.
Declared In
AIAuthenticationDelegate.h