JCAccount 回调代理
更多...
#import <JCAccountCallback.h>
◆ onChangePassword:result:reason:
- (void) onChangePassword: |
|
(int) |
operationId |
result: |
|
(BOOL) |
result |
reason: |
|
(JCAccountReason) |
reason |
|
|
| |
|
optional |
修改密码结果回调
- 参数
-
operationId | 操作ID,对应changePassword接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 失败的原因 |
◆ onFetchPassword:result:password:reason:
- (void) onFetchPassword: |
|
(int) |
operationId |
result: |
|
(BOOL) |
result |
password: |
|
(NSString *) |
password |
reason: |
|
(JCAccountReason) |
reason |
|
|
| |
|
optional |
找回密码结果回调
- 参数
-
operationId | 操作ID,对应fetchPassword接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
password | 加密后的密码,可用于登录 |
reason | 失败的原因 |
◆ onGetAccountProperty:result:value:reason:
- (void) onGetAccountProperty: |
|
(int) |
operationId |
result: |
|
(BOOL) |
result |
value: |
|
(NSString *) |
value |
reason: |
|
(JCAccountReason) |
reason |
|
|
| |
|
optional |
获取自定义属性回调
- 参数
-
operationId | 操作ID,对应getAccountProperty接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
value | 自定义属性值 |
reason | 失败的原因 |
◆ onQueryAccount:result:reason:
- (void) onQueryAccount: |
|
(int) |
operationId |
result: |
|
(BOOL) |
result |
reason: |
|
(JCAccountReason) |
reason |
|
|
| |
|
optional |
账号查询回调
- 参数
-
operationId | 操作ID,对应queryAccount接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 查询成功 JCAccountReasonAccountExist或JCAccountReasonAccountNotExist,查询失败 JCAccountReasonNone |
◆ onRegister:result:reason:
- (void) onRegister: |
|
(int) |
operationId |
result: |
|
(BOOL) |
result |
reason: |
|
(JCAccountReason) |
reason |
|
|
| |
|
optional |
注册结果回调
- 参数
-
operationId | 操作ID,对应registerAccount接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 失败的原因 |
◆ onRequestAuthCode:result:reason:
- (void) onRequestAuthCode: |
|
(int) |
operationId |
result: |
|
(BOOL) |
result |
reason: |
|
(JCAccountReason) |
reason |
|
|
| |
|
optional |
请求验证码结果回调
- 参数
-
operationId | 操作ID,对应requestAuthCode接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 失败的原因 |
◆ onResetPassword:result:reason:
- (void) onResetPassword: |
|
(int) |
operationId |
result: |
|
(BOOL) |
result |
reason: |
|
(JCAccountReason) |
reason |
|
|
| |
|
optional |
重置密码结果回调
- 参数
-
operationId | 操作ID,对应resetPassword接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 失败的原因 |
◆ onSetAccountProperty:result:reason:
- (void) onSetAccountProperty: |
|
(int) |
operationId |
result: |
|
(BOOL) |
result |
reason: |
|
(JCAccountReason) |
reason |
|
|
| |
|
optional |
设置自定义属性回调
- 参数
-
operationId | 操作ID,对应setAccountProperty接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 失败的原因 |
该协议的文档由以下文件生成: