SPiDUser Class Reference
| Inherits from | NSObject |
| Declared in | SPiDUser.h SPiDUser.m |
Overview
Handles user creation and validation against SPiD.
This requires access to the /signup endpoint with client credentials
Tasks
Public Methods
-
+ createAccountWithEmail:password:completionHandler:Creates a new SPiD user account
-
– userPostDataWithEmail:password:Generates user credentials post data
-
– validateEmail:password:Validates user credentials
Private Methods
Class Methods
createAccountWithEmail:password:completionHandler:
Creates a new SPiD user account
+ (void)createAccountWithEmail:(NSString *)email password:(NSString *)password completionHandler:(void ( ^ ) ( NSError *))completionHandlerParameters
The email
- password
The password
- completionHandler
Called after user has been created
Declared In
SPiDUser.hInstance Methods
accountRequestWithEmail:password:completionHandler:
- (void)accountRequestWithEmail:(NSString *)email password:(NSString *)password completionHandler:(void ( ^ ) ( NSError *))completionHandler