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 *)errorParameters
- authenticationViewController
The view controller.
- error
The error (Note that the session object in the
SPTAuthobject passed upon initialization is cleared.)
Declared In
SPTAuthViewController.hauthenticationViewController:didLoginWithSession:
The user logged in successfully.
- (void)authenticationViewController:(SPTAuthViewController *)authenticationViewController didLoginWithSession:(SPTSession *)sessionParameters
- authenticationViewController
The view controller.
- session
The session object with the new credentials. (Note that the session object in the
SPTAuthobject passed upon initialization is also updated)
Declared In
SPTAuthViewController.h