API Constants Reference
| Declared in | AIAuthenticationDelegate.h |
|---|---|
| Availability | 1.0 |
API
These constants identify which API succeeded or failed when calling AIAuthenticationDelegate. The value identifying the API is passed in the APIResult and APIError objects.
Definition
typedef NS_ENUM(NSUInteger, API ) {
kAPIAuthorizeUser = 1,
kAPIGetAccessToken = 2,
kAPIClearAuthorizationState = 3,
kAPIGetProfile = 4,
kAPIGetAuthorizationCode = 5,
};
Constants
kAPIAuthorizeUser-
Refers to
[AIMobileLib authorizeUserForScopes:delegate:]Declared In
AIAuthenticationDelegate.h. kAPIGetAccessToken-
Refers to
[AIMobileLib getAccessTokenForScopes:withOverrideParams:delegate:]Declared In
AIAuthenticationDelegate.h. kAPIClearAuthorizationState-
Refers to
[AIMobileLib clearAuthorizationState:]Declared In
AIAuthenticationDelegate.h. kAPIGetProfile-
Refers to
[AIMobileLib getProfile:]Declared In
AIAuthenticationDelegate.h. kAPIGetAuthorizationCode-
Refers to
[AIMobileLib authorizeUserForScopes:delegate:options]Declared In
AIAuthenticationDelegate.h.
Availability
1.0
Declared In
AIAuthenticationDelegate.h