Accela SDK for iOS
V3.0
|
#import <AccelaMobile.h>
Public Member Functions | |
(void) | - amDidLogin: |
(void) | - amDidCancelLogin |
(void) | - amDidLoginFailure: |
(BOOL) | - amDidSessionInvalid: |
(void) | - amDidLogout |
Defines the methods that a delegate of a AccelaMobile object may implement.
All the methods defined in this protocol are optional.
- (void) amDidCancelLogin | [optional] |
Sends to the delegate when user cancel authorization.
- (void) amDidLogin: | (int) | grantType | [optional] |
Sends to the delegate when the user successfully logs in.
grantType | 1- password 2- authorization code 3- refresh_token |
- (void) amDidLoginFailure: | (AMError *) | error | [optional] |
Sends to the delegate when there is an error during authorization.
- (void) amDidLogout | [optional] |
Sends to the delegate when the user logged out.
- (BOOL) amDidSessionInvalid: | (AMError *) | error | [optional] |
Sends to the delegate when the session is invalid.