TapSDK C#
|
Classes | |
class | FriendshipNotification |
Public Member Functions | |
new Task< TDSUser > | SignUp () |
new Task | UpdatePassword (string oldPassword, string newPassword) |
new async Task< TDSUser > | Save (bool fetchWhenSave=false, LCQuery< LCObject > query=null) |
Save this user to the cloud. More... | |
Task | ApplyFriendship (TDSUser user, Dictionary< string, object > attributes=null) |
Task | AcceptFriendshipRequest (LCFriendshipRequest request, Dictionary< string, object > attributes=null) |
Task | DeclineFriendshipRequest (LCFriendshipRequest request) |
Task | DeleteFriendshipRequest (LCFriendshipRequest request) |
LCQuery< LCFriendshipRequest > | GetFriendshipRequestQuery (int status, bool includeTargetUser, bool reachToCurrentUser) |
LCQuery< LCObject > | GetFriendshipQuery () |
async Task | RegisterFriendshipNotification (FriendshipNotification notification) |
async Task | UnregisterFriendshipNotification () |
Static Public Member Functions | |
static new Task | RequestLoginSMSCode (string mobile) |
static new Task< TDSUser > | SignUpOrLoginByMobilePhone (string mobile, string code) |
static new Task< TDSUser > | Login (string username, string password) |
static new Task< TDSUser > | LoginByEmail (string email, string password) |
static new Task< TDSUser > | LoginByMobilePhoneNumber (string mobile, string password) |
static new Task< TDSUser > | LoginBySMSCode (string mobile, string code) |
static new Task | RequestEmailVerify (string email) |
static new Task | RequestMobilePhoneVerify (string mobile) |
static new Task | VerifyMobilePhone (string mobile, string code) |
static new Task | RequestPasswordReset (string email) |
static new Task | RequestPasswordResetBySmsCode (string mobile) |
static new Task | ResetPasswordBySmsCode (string mobile, string code, string newPassword) |
static new Task | RequestSMSCodeForUpdatingPhoneNumber (string mobile, int ttl=360, string captchaToken=null) |
static new Task | VerifyCodeForUpdatingPhoneNumber (string mobile, string code) |
static new async Task< TDSUser > | GetCurrent () |
Gets the currently logged in TDSUser with a valid session, from memory or disk if necessary. More... | |
static new async Task< TDSUser > | BecomeWithSessionToken (string sessionToken) |
Signs in a user with a sessionToken. More... | |
static new async Task< TDSUser > | LoginWithAuthData (Dictionary< string, object > authData, string platform, LCUserAuthDataLoginOption option=null) |
Signs up or signs in a user with third party authData. More... | |
static new async Task< TDSUser > | LoginWithAuthDataAndUnionId (Dictionary< string, object > authData, string platform, string unionId, LCUserAuthDataLoginOption option=null) |
Signs up or signs in a user with third party authData and unionId. More... | |
static new async Task< TDSUser > | LoginAnonymously () |
Creates an anonymous user. More... | |
static async Task< TDSUser > | LoginWithTapTap () |
Signs up or signs in a user with TapTap. More... | |
static new async Task | Logout () |
Logs out the currently logged in user session. More... | |
static new LCQuery< TDSUser > | GetQuery () |
Constructs a LCQuery for TDSUser. More... | |
Properties | |
new string | Username [get, set] |
new string | Password [get, set] |
new string | Email [get, set] |
new string | Mobile [get, set] |
new bool | EmailVerified [get] |
new bool | MobileVerified [get] |
|
inline |
|
inline |
|
inlinestatic |
Signs in a user with a sessionToken.
sessionToken |
|
inline |
|
inline |
|
inlinestatic |
Gets the currently logged in TDSUser with a valid session, from memory or disk if necessary.
|
inline |
|
inline |
|
inlinestatic |
Constructs a LCQuery for TDSUser.
|
inlinestatic |
|
inlinestatic |
Creates an anonymous user.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Signs up or signs in a user with third party authData.
authData | |
platform | |
option |
|
inlinestatic |
Signs up or signs in a user with third party authData and unionId.
authData | |
platform | |
unionId | |
option |
|
inlinestatic |
Signs up or signs in a user with TapTap.
|
inlinestatic |
Logs out the currently logged in user session.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
Save this user to the cloud.
fetchWhenSave | |
query |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
getset |
|
get |
|
getset |
|
get |
|
getset |
|
getset |