‪JMSDK iOS  ‪v2.8.0
‪API文档
JCAccountConstants.h
浏览该文件的文档.
1 //
2 // JCAccountConstants.h
3 // JCSDKOC
4 //
5 // Created by chendi on 2018/6/21.
6 // Copyright © 2018 juphoon. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
15 extern NSString* const JCAccountTypePhone;
17 extern NSString* const JCAccountTypeEmail;
19 extern NSString* const JCAccountTypeUserName;
21 extern NSString* const JCAccountTypeUid;
23 extern NSString* const JCAccountTypeFaceBook;
25 extern NSString* const JCAccountTypeTwitter;
27 extern NSString* const JCAccountTypeSnapChat;
29 extern NSString* const JCAccountTypeInstagram;
31 extern NSString* const JCAccountTypeWeibo;
33 extern NSString* const JCAccountTypeWechat;
35 extern NSString* const JCAccountTypeQQ;
36 
40 typedef NS_ENUM(NSInteger, JCRequestAuthCodeType) {
49 };
50 
51 
55 typedef NS_ENUM(NSInteger, JCAccountReason) {
78 };
79 
NSString *const JCAccountTypeUid
uid
NSString *const JCAccountTypeEmail
邮箱
NSString *const JCAccountTypeTwitter
Twitter
JCAccountReason
Definition: JCAccountConstants.h:55
@ JCAccountReasonAuthCodeExpired
验证码过期
Definition: JCAccountConstants.h:65
@ JCAccountReasonTooManyTimes
调用太频繁
Definition: JCAccountConstants.h:67
@ JCAccountReasonAccountExist
账户已存在
Definition: JCAccountConstants.h:59
@ JCAccountReasonNone
Definition: JCAccountConstants.h:57
@ JCAccountReasonAccountNotExist
账户不存在
Definition: JCAccountConstants.h:61
@ JCAccountReasonAuthBlocked
验证失败
Definition: JCAccountConstants.h:69
@ JCAccountReasonUnkownReason
未知错误
Definition: JCAccountConstants.h:71
@ JCAccountReasonNoUserEntry
无效用户
Definition: JCAccountConstants.h:73
@ JCAccountReasonAuthCodeError
验证码错误
Definition: JCAccountConstants.h:63
@ JCAccountReasonNotFound
未找到
Definition: JCAccountConstants.h:75
@ JCAccountReasonPassowrdError
原密码错误
Definition: JCAccountConstants.h:77
NSString *const JCAccountTypeWechat
微信
NSString *const JCAccountTypeQQ
QQ
JCRequestAuthCodeType
Definition: JCAccountConstants.h:40
@ JCRequestAuthCodeTypeResetPassword
重置密码
Definition: JCAccountConstants.h:44
@ JCRequestAuthCodeTypeCreateAccount
创建账户
Definition: JCAccountConstants.h:46
@ JCRequestAuthCodeTypeFetchPassword
获取加密密码
Definition: JCAccountConstants.h:42
@ JCRequestAuthCodeTypeAddRelationship
添加关系
Definition: JCAccountConstants.h:48
NSString *const JCAccountTypeInstagram
Instagram
NSString *const JCAccountTypeUserName
用户名
NSString *const JCAccountTypePhone
账户类型
NSString *const JCAccountTypeSnapChat
SnapChat
NSString *const JCAccountTypeWeibo
微博
NSString *const JCAccountTypeFaceBook
FaceBook