Tuya iOS Smart Life App SDK 5.15.0
ThingSmartUser.h File Reference
#import <UIKit/UIKit.h>
#import <ThingSmartUtil/ThingSmartUtil.h>

Go to the source code of this file.

Classes

class  ThingSmartUser
 

Typedefs

typedef NSString * ThingSmartUserLoginType
 Auth 2.0 login type. More...
 

Functions

typedef NS_ENUM (NSInteger, ThingRegType)
 The user registration type. More...
 
typedef NS_ENUM (NSInteger, ThingPasswordRegularType)
 The password strength type. More...
 
typedef NS_ENUM (NSInteger, ThingSmartUserLoginErrorCode)
 

Variables

NS_ASSUME_NONNULL_BEGIN NSString *const ThingSmartUserNotificationUserSessionInvalid
 The notification is sent when the user session is invalid. More...
 
NSString *const ThingSmartUserLoginTypeGoogle
 Login type constants. More...
 
NSString *const ThingSmartUserLoginTypeWechat
 
NSString *const ThingSmartUserLoginTypeQQ
 
NSString *const ThingSmartUserLoginTypeApple
 
NSString *const ThingSmartUserLoginTypeFacebook
 
NSString *const ThingSmartUserLoginTypeTwitter
 
NSString *const ThingSmartUserLoginTypeJWT
 
NSString *const ThingSmartUserLoginErrorDomain
 

Typedef Documentation

◆ ThingSmartUserLoginType

typedef NSString* ThingSmartUserLoginType

Auth 2.0 login type.

Definition at line 54 of file ThingSmartUser.h.

Function Documentation

◆ NS_ENUM() [1/3]

typedef NS_ENUM ( NSInteger  ,
ThingPasswordRegularType   
)

The password strength type.

Definition at line 46 of file ThingSmartUser.h.

◆ NS_ENUM() [2/3]

typedef NS_ENUM ( NSInteger  ,
ThingRegType   
)

The user registration type.

Register from email.

Register from mobile phone.

Register from other methods.

Register from QQ.

Register from Sina Weibo.

Register from Facebook.

Register from Twitter.

Register from WeChat.

Register from Apple.

Register from Google.

Register from Line.

Definition at line 20 of file ThingSmartUser.h.

◆ NS_ENUM() [3/3]

typedef NS_ENUM ( NSInteger  ,
ThingSmartUserLoginErrorCode   
)

Definition at line 69 of file ThingSmartUser.h.

Variable Documentation

◆ ThingSmartUserLoginErrorDomain

NSString* const ThingSmartUserLoginErrorDomain
extern

◆ ThingSmartUserLoginTypeApple

NSString* const ThingSmartUserLoginTypeApple
extern

◆ ThingSmartUserLoginTypeFacebook

NSString* const ThingSmartUserLoginTypeFacebook
extern

◆ ThingSmartUserLoginTypeGoogle

NSString* const ThingSmartUserLoginTypeGoogle
extern

Login type constants.

◆ ThingSmartUserLoginTypeJWT

NSString* const ThingSmartUserLoginTypeJWT
extern

◆ ThingSmartUserLoginTypeQQ

NSString* const ThingSmartUserLoginTypeQQ
extern

◆ ThingSmartUserLoginTypeTwitter

NSString* const ThingSmartUserLoginTypeTwitter
extern

◆ ThingSmartUserLoginTypeWechat

NSString* const ThingSmartUserLoginTypeWechat
extern

◆ ThingSmartUserNotificationUserSessionInvalid

NS_ASSUME_NONNULL_BEGIN NSString* const ThingSmartUserNotificationUserSessionInvalid
extern

The notification is sent when the user session is invalid.