|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ParseUser in com.parse |
---|
Methods in com.parse that return ParseUser | |
---|---|
static ParseUser |
ParseUser.become(String sessionToken)
Authorize a user with a session token. |
ParseUser |
ParseUser.fetch()
|
ParseUser |
ParseUser.fetchIfNeeded()
|
static ParseUser |
ParseUser.getCurrentUser()
This retrieves the currently logged in ParseUser with a valid session, either from memory or disk if necessary. |
ParseUser |
ParseObject.getParseUser(String key)
Access a ParseUser value. |
static ParseUser |
ParseUser.logIn(String username,
String password)
Logs in a user with a username and password. |
Methods in com.parse that return types with arguments of type ParseUser | |
---|---|
static bolts.Task<ParseUser> |
ParseUser.becomeInBackground(String sessionToken)
Authorize a user with a session token. |
static ParseQuery<ParseUser> |
ParseUser.getQuery()
Constructs a query for ParseUsers. |
static ParseQuery<ParseUser> |
ParseQuery.getUserQuery()
Deprecated. Please use ParseUser.getQuery() instead. |
ParseRelation<ParseUser> |
ParseRole.getUsers()
Gets the ParseRelation for the ParseUser s that are direct children of this
role. |
static bolts.Task<ParseUser> |
ParseAnonymousUtils.logInInBackground()
Creates an anonymous user in the background. |
static bolts.Task<ParseUser> |
ParseFacebookUtils.logInInBackground(Collection<String> permissions,
Activity activity,
int activityCode)
Logs in a ParseUser using Facebook for authentication. |
static bolts.Task<ParseUser> |
ParseTwitterUtils.logInInBackground(Context context)
Logs in a ParseUser using Twitter for authentication. |
static bolts.Task<ParseUser> |
ParseUser.logInInBackground(String username,
String password)
Logs in a user with a username and password. |
static bolts.Task<ParseUser> |
ParseFacebookUtils.logInInBackground(String facebookId,
String accessToken,
Date expirationDate)
Logs in a ParseUser using Facebook for authentication. |
static bolts.Task<ParseUser> |
ParseTwitterUtils.logInInBackground(String twitterId,
String screenName,
String authToken,
String authTokenSecret)
Logs in a ParseUser using Twitter for authentication. |
Methods in com.parse with parameters of type ParseUser | |
---|---|
abstract void |
LogInCallback.done(ParseUser user,
ParseException e)
Override this function with the code you want to run after the save is complete. |
static void |
ParseFacebookUtils.extendAccessToken(ParseUser user,
Context context,
SaveCallback callback)
Deprecated. This is now handled automatically by the Facebook SDK. |
static boolean |
ParseFacebookUtils.extendAccessTokenIfNeeded(ParseUser user,
Context context,
SaveCallback callback)
Deprecated. This is now handled automatically by the Facebook SDK. |
boolean |
ParseACL.getReadAccess(ParseUser user)
Get whether the given user id is *explicitly* allowed to read this object. |
boolean |
ParseACL.getWriteAccess(ParseUser user)
Get whether the given user id is *explicitly* allowed to write this object. |
static boolean |
ParseTwitterUtils.isLinked(ParseUser user)
|
static boolean |
ParseFacebookUtils.isLinked(ParseUser user)
|
static boolean |
ParseAnonymousUtils.isLinked(ParseUser user)
Whether the user is logged in anonymously. |
static void |
ParseFacebookUtils.link(ParseUser user,
Activity activity)
Deprecated. Please use ParseFacebookUtils.linkInBackground(ParseUser, android.app.Activity) instead. |
static void |
ParseFacebookUtils.link(ParseUser user,
Activity activity,
int activityCode)
Deprecated. Please use ParseFacebookUtils.linkInBackground(ParseUser, android.app.Activity, int) instead. |
static void |
ParseFacebookUtils.link(ParseUser user,
Activity activity,
int activityCode,
SaveCallback callback)
|
static void |
ParseFacebookUtils.link(ParseUser user,
Activity activity,
SaveCallback callback)
|
static void |
ParseFacebookUtils.link(ParseUser user,
Collection<String> permissions,
Activity activity)
Deprecated. Please use ParseFacebookUtils.linkInBackground(ParseUser, java.util.Collection,
android.app.Activity) instead. |
static void |
ParseFacebookUtils.link(ParseUser user,
Collection<String> permissions,
Activity activity,
int activityCode)
Deprecated. Please use ParseFacebookUtils.linkInBackground(ParseUser, java.util.Collection,
android.app.Activity, int) instead. |
static void |
ParseFacebookUtils.link(ParseUser user,
Collection<String> permissions,
Activity activity,
int activityCode,
SaveCallback callback)
Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and providing access to Facebook data for the user. |
static void |
ParseFacebookUtils.link(ParseUser user,
Collection<String> permissions,
Activity activity,
SaveCallback callback)
Links a user using the default activity code if single sign-on is enabled. |
static void |
ParseTwitterUtils.link(ParseUser user,
Context context)
Deprecated. Please use ParseTwitterUtils.linkInBackground(Context, ParseUser) instead. |
static void |
ParseTwitterUtils.link(ParseUser user,
Context context,
SaveCallback callback)
Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and providing access to Twitter data for the user. |
static void |
ParseFacebookUtils.link(ParseUser user,
String facebookId,
String accessToken,
Date expirationDate)
Deprecated. Please use ParseFacebookUtils.linkInBackground(ParseUser, String, String, java.util.Date)
instead. |
static void |
ParseFacebookUtils.link(ParseUser user,
String facebookId,
String accessToken,
Date expirationDate,
SaveCallback callback)
Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and providing access to Facebook data for the user. |
static void |
ParseTwitterUtils.link(ParseUser user,
String twitterId,
String screenName,
String authToken,
String authTokenSecret)
Deprecated. Please use ParseTwitterUtils.linkInBackground(ParseUser, String, String,
String, String) instead. |
static void |
ParseTwitterUtils.link(ParseUser user,
String twitterId,
String screenName,
String authToken,
String authTokenSecret,
SaveCallback callback)
Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and providing access to Twitter data for the user. |
static bolts.Task<Void> |
ParseTwitterUtils.linkInBackground(Context context,
ParseUser user)
Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and providing access to Twitter data for the user. |
static bolts.Task<Void> |
ParseFacebookUtils.linkInBackground(ParseUser user,
Activity activity)
|
static bolts.Task<Void> |
ParseFacebookUtils.linkInBackground(ParseUser user,
Activity activity,
int activityCode)
|
static bolts.Task<Void> |
ParseFacebookUtils.linkInBackground(ParseUser user,
Collection<String> permissions,
Activity activity)
|
static bolts.Task<Void> |
ParseFacebookUtils.linkInBackground(ParseUser user,
Collection<String> permissions,
Activity activity,
int activityCode)
Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and providing access to Facebook data for the user. |
static bolts.Task<Void> |
ParseFacebookUtils.linkInBackground(ParseUser user,
String facebookId,
String accessToken,
Date expirationDate)
Links a ParseUser to a Facebook account, allowing you to use Facebook for authentication, and providing access to Facebook data for the user. |
static bolts.Task<Void> |
ParseTwitterUtils.linkInBackground(ParseUser user,
String twitterId,
String screenName,
String authToken,
String authTokenSecret)
Links a ParseUser to a Twitter account, allowing you to use Twitter for authentication, and providing access to Twitter data for the user. |
static void |
ParseFacebookUtils.saveLatestSessionData(ParseUser user)
Deprecated. Please use ParseFacebookUtils.saveLatestSessionDataInBackground(ParseUser) instead. |
static void |
ParseFacebookUtils.saveLatestSessionData(ParseUser user,
SaveCallback callback)
Saves the latest session data to the user. |
static bolts.Task<Void> |
ParseFacebookUtils.saveLatestSessionDataInBackground(ParseUser user)
Saves the latest session data to the user. |
void |
ParseACL.setReadAccess(ParseUser user,
boolean allowed)
Set whether the given user is allowed to read this object. |
void |
ParseACL.setWriteAccess(ParseUser user,
boolean allowed)
Set whether the given user is allowed to write this object. |
static boolean |
ParseFacebookUtils.shouldExtendAccessToken(ParseUser user)
Deprecated. This is now handled automatically by the Facebook SDK. |
static void |
ParseTwitterUtils.unlink(ParseUser user)
Unlinks a user from a Twitter account. |
static void |
ParseFacebookUtils.unlink(ParseUser user)
Unlinks a user from a Facebook account. |
static bolts.Task<Void> |
ParseTwitterUtils.unlinkInBackground(ParseUser user)
Unlinks a user from a Twitter account in the background. |
static bolts.Task<Void> |
ParseFacebookUtils.unlinkInBackground(ParseUser user)
Unlinks a user from a Facebook account in the background. |
static void |
ParseTwitterUtils.unlinkInBackground(ParseUser user,
SaveCallback callback)
Unlinks a user from a Twitter account in the background. |
static void |
ParseFacebookUtils.unlinkInBackground(ParseUser user,
SaveCallback callback)
Unlinks a user from a Facebook account in the background. |
Constructors in com.parse with parameters of type ParseUser | |
---|---|
ParseACL(ParseUser owner)
Creates an ACL where only the provided user has access. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |