|
LuxChat
2.0
Instant messenger for iOS
|
#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... | |
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.
| + (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.
| sessionToken | The session token for the user. |
| target | Target object for the selector. |
| selector | The selector that will be called when the asynchrounous request is complete. It should have the following signature: (void)callbackWithUser:(PFUser *)user error:(NSError *)error. |
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.
| username | The username of the user. |
| password | The password of the user. |
| target | Target object for the selector. |
| selector | The selector that will be called when the asynchrounous request is complete. It should have the following signature: (void)callbackWithUser:(PFUser *)user error:(NSError *)error. |
PFUser.+logInWithUsernameInBackground:password:block: instead. | + (void) requestPasswordResetForEmailInBackground: | (NSString *) | ||
| 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.
| Email of the account to send a reset password request. | |
| target | Target object for the selector. |
| selector | The 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. |
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.
| target | Target object for the selector. |
| selector | The 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. |
PFUser.-signUpInBackgroundWithBlock: instead.
1.8.9.1