SPTAuthViewDelegate Protocol Reference
Declared in | SPTAuthViewController.h |
Tasks
-
– authenticationViewController:didLoginWithSession:
required method -
– authenticationViewController:didFailToLogin:
required method -
– authenticationViewControllerDidCancelLogin:
required method
Instance Methods
authenticationViewController:didFailToLogin:
An error occured while logging in
- (void)authenticationViewController:(SPTAuthViewController *)authenticationViewController didFailToLogin:(NSError *)error
Parameters
- authenticationViewController
The view controller.
- error
The error (Note that the session object in the
SPTAuth
object passed upon initialization is cleared.)
Declared In
SPTAuthViewController.h
authenticationViewController:didLoginWithSession:
The user logged in successfully.
- (void)authenticationViewController:(SPTAuthViewController *)authenticationViewController didLoginWithSession:(SPTSession *)session
Parameters
- authenticationViewController
The view controller.
- session
The session object with the new credentials. (Note that the session object in the
SPTAuth
object passed upon initialization is also updated)
Declared In
SPTAuthViewController.h