Accela SDK for iOS  V3.0
<AMSessionDelegate> Protocol Reference

#import <AccelaMobile.h>

List of all members.

Public Member Functions

(void) - amDidLogin:
(void) - amDidCancelLogin
(void) - amDidLoginFailure:
(BOOL) - amDidSessionInvalid:
(void) - amDidLogout

Detailed Description

Defines the methods that a delegate of a AccelaMobile object may implement.

All the methods defined in this protocol are optional.

Since:
1.0

Member Function Documentation

- (void) amDidCancelLogin [optional]

Sends to the delegate when user cancel authorization.

Since:
3.0
- (void) amDidLogin: (int)  grantType [optional]

Sends to the delegate when the user successfully logs in.

Parameters:
grantType1- password 2- authorization code 3- refresh_token
Since:
1.0
- (void) amDidLoginFailure: (AMError *)  error [optional]

Sends to the delegate when there is an error during authorization.

Since:
3.0
- (void) amDidLogout [optional]

Sends to the delegate when the user logged out.

Since:
1.0
- (BOOL) amDidSessionInvalid: (AMError *)  error [optional]

Sends to the delegate when the session is invalid.

Returns:
Since:
3.0

The documentation for this protocol was generated from the following file:
 All Classes Functions Properties