LuxChat  2.0
Instant messenger for iOS
Instance Methods | Class Methods | List of all members
PFUser(Deprecated) Category Reference

#import <PFUser+Deprecated.h>

Instance Methods

(void) - signUpInBackgroundWithTarget:selector:
 
More...
 

Class Methods

(void) + logInWithUsernameInBackground:password:target:selector:
 
More...
 
(void) + becomeInBackground:target:selector:
 
More...
 
(void) + requestPasswordResetForEmailInBackground:target:selector:
 
More...
 

Detailed Description

Copyright (c) 2015-present, Parse, LLC. All rights reserved.

This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. This category lists all methods of PFUser that are deprecated and will be removed in the near future.

Method Documentation

+ (void) becomeInBackground: (NSString *)  sessionToken
target: (nullable id)  target
selector: ("Please use `PFUser.+becomeInBackground:block:` instead.")  PARSE_DEPRECATED 



Makes an asynchronous request to become a user with the given session token.

Returns an instance of the successfully logged in PFUser. This also caches the user locally so that calls to +currentUser will use the latest logged in user.

Parameters
sessionTokenThe session token for the user.
targetTarget object for the selector.
selectorThe selector that will be called when the asynchrounous request is complete. It should have the following signature: (void)callbackWithUser:(PFUser *)user error:(NSError *)error.
Deprecated:
Please use PFUser.+becomeInBackground:block: instead.
+ (void) logInWithUsernameInBackground: (NSString *)  username
password: (NSString *)  password
target: (nullable id)  target
selector: ("Please use `PFUser.+logInWithUsernameInBackground:password:block:` instead.")  PARSE_DEPRECATED 



Makes an asynchronous request to login a user with specified credentials.

Returns an instance of the successfully logged in PFUser. This also caches the user locally so that calls to +currentUser will use the latest logged in user.

Parameters
usernameThe username of the user.
passwordThe password of the user.
targetTarget object for the selector.
selectorThe selector that will be called when the asynchrounous request is complete. It should have the following signature: (void)callbackWithUser:(PFUser *)user error:(NSError *)error.
Deprecated:
Please use PFUser.+logInWithUsernameInBackground:password:block: instead.
+ (void) requestPasswordResetForEmailInBackground: (NSString *)  email
target: (nullable id)  target
selector: ("Please use `PFUser.+requestPasswordResetForEmailInBackground:block:` instead.")  PARSE_DEPRECATED 



Send a password reset request asynchronously for a specified email and sets an error object.

If a user account exists with that email, an email will be sent to that address with instructions on how to reset their password.

Parameters
emailEmail of the account to send a reset password request.
targetTarget object for the selector.
selectorThe selector that will be called when the asynchronous request is complete. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not.
Deprecated:
Please use PFUser.+requestPasswordResetForEmailInBackground:block: instead.
- (void) signUpInBackgroundWithTarget: (nullable id)  target
selector: ("Please use `PFUser.-signUpInBackgroundWithBlock:` instead.")  PARSE_DEPRECATED 



Signs up the user asynchronously.

This will also enforce that the username isn't already taken.

Warning
Make sure that password and username are set before calling this method.
Parameters
targetTarget object for the selector.
selectorThe selector that will be called when the asynchrounous request is complete. It should have the following signature: (void)callbackWithResult:(NSNumber *)result error:(NSError *)error. error will be nil on success and set if there was an error. [result boolValue] will tell you whether the call succeeded or not.
Deprecated:
Please use PFUser.-signUpInBackgroundWithBlock: instead.

The documentation for this category was generated from the following file: