Accela SDK for iOS  V3.2
 All Classes Functions Properties Pages
<AMSessionDelegate> Protocol Reference

#import <AccelaMobile.h>

Inheritance diagram for <AMSessionDelegate>:

Instance Methods

(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

Method 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: