public class AuthApi extends Object
限定符和类型 | 方法和说明 |
---|---|
AutoLoginCredential |
authUsersAutoLoginPost(String autoLoginToken,
String machineId)
自动登录/requstToken 刷新
|
com.squareup.okhttp.Call |
authUsersAutoLoginPostAsync(String autoLoginToken,
String machineId,
ApiCallback<AutoLoginCredential> callback)
自动登录/requstToken 刷新 (asynchronously)
|
com.squareup.okhttp.Call |
authUsersAutoLoginPostCall(String autoLoginToken,
String machineId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for authUsersAutoLoginPost
|
ApiResponse<AutoLoginCredential> |
authUsersAutoLoginPostWithHttpInfo(String autoLoginToken,
String machineId)
自动登录/requstToken 刷新
|
void |
authUsersBindUserPhoneNumberPost(String phoneNumber,
String openId,
String password,
String verifyCode)
第三方登录用户绑定手机号
|
com.squareup.okhttp.Call |
authUsersBindUserPhoneNumberPostAsync(String phoneNumber,
String openId,
String password,
String verifyCode,
ApiCallback<Void> callback)
第三方登录用户绑定手机号 (asynchronously)
|
com.squareup.okhttp.Call |
authUsersBindUserPhoneNumberPostCall(String phoneNumber,
String openId,
String password,
String verifyCode,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for authUsersBindUserPhoneNumberPost
|
ApiResponse<Void> |
authUsersBindUserPhoneNumberPostWithHttpInfo(String phoneNumber,
String openId,
String password,
String verifyCode)
第三方登录用户绑定手机号
|
LoginCredential |
authUsersLoginPost(String phone,
String password,
String machineId)
登录
|
com.squareup.okhttp.Call |
authUsersLoginPostAsync(String phone,
String password,
String machineId,
ApiCallback<LoginCredential> callback)
登录 (asynchronously)
|
com.squareup.okhttp.Call |
authUsersLoginPostCall(String phone,
String password,
String machineId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for authUsersLoginPost
|
ApiResponse<LoginCredential> |
authUsersLoginPostWithHttpInfo(String phone,
String password,
String machineId)
登录
|
LoginCredential |
authUsersRegisterOrLoginNonpartyPost(String openId,
String headImage,
String machineId,
String nickName,
String loginModel)
第三方登录注册接口
|
com.squareup.okhttp.Call |
authUsersRegisterOrLoginNonpartyPostAsync(String openId,
String headImage,
String machineId,
String nickName,
String loginModel,
ApiCallback<LoginCredential> callback)
第三方登录注册接口 (asynchronously)
|
com.squareup.okhttp.Call |
authUsersRegisterOrLoginNonpartyPostCall(String openId,
String headImage,
String machineId,
String nickName,
String loginModel,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for authUsersRegisterOrLoginNonpartyPost
|
ApiResponse<LoginCredential> |
authUsersRegisterOrLoginNonpartyPostWithHttpInfo(String openId,
String headImage,
String machineId,
String nickName,
String loginModel)
第三方登录注册接口
|
LoginCredential |
authUsersRegisterPost(String phone,
String password,
String textCode,
String machineId)
注册接口
|
com.squareup.okhttp.Call |
authUsersRegisterPostAsync(String phone,
String password,
String textCode,
String machineId,
ApiCallback<LoginCredential> callback)
注册接口 (asynchronously)
|
com.squareup.okhttp.Call |
authUsersRegisterPostCall(String phone,
String password,
String textCode,
String machineId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for authUsersRegisterPost
|
ApiResponse<LoginCredential> |
authUsersRegisterPostWithHttpInfo(String phone,
String password,
String textCode,
String machineId)
注册接口
|
void |
authUsersResetPasswordPost(String phone,
String password,
String textCode)
找回更新密码
|
com.squareup.okhttp.Call |
authUsersResetPasswordPostAsync(String phone,
String password,
String textCode,
ApiCallback<Void> callback)
找回更新密码 (asynchronously)
|
com.squareup.okhttp.Call |
authUsersResetPasswordPostCall(String phone,
String password,
String textCode,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for authUsersResetPasswordPost
|
ApiResponse<Void> |
authUsersResetPasswordPostWithHttpInfo(String phone,
String password,
String textCode)
找回更新密码
|
VerifyTestResponse |
authUsersVerifyTextPost(String phone)
获取登录验证码
|
com.squareup.okhttp.Call |
authUsersVerifyTextPostAsync(String phone,
ApiCallback<VerifyTestResponse> callback)
获取登录验证码 (asynchronously)
|
com.squareup.okhttp.Call |
authUsersVerifyTextPostCall(String phone,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for authUsersVerifyTextPost
|
ApiResponse<VerifyTestResponse> |
authUsersVerifyTextPostWithHttpInfo(String phone)
获取登录验证码
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public AuthApi()
public AuthApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call authUsersAutoLoginPostCall(String autoLoginToken, String machineId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
autoLoginToken
- 用于自动登录的token (required)machineId
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AutoLoginCredential authUsersAutoLoginPost(String autoLoginToken, String machineId) throws ApiException
autoLoginToken
- 用于自动登录的token (required)machineId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AutoLoginCredential> authUsersAutoLoginPostWithHttpInfo(String autoLoginToken, String machineId) throws ApiException
autoLoginToken
- 用于自动登录的token (required)machineId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call authUsersAutoLoginPostAsync(String autoLoginToken, String machineId, ApiCallback<AutoLoginCredential> callback) throws ApiException
autoLoginToken
- 用于自动登录的token (required)machineId
- (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call authUsersBindUserPhoneNumberPostCall(String phoneNumber, String openId, String password, String verifyCode, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
phoneNumber
- 用户绑定手机号 (required)openId
- 用户唯一openid (required)password
- 设置密码 (required)verifyCode
- 验证码 (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void authUsersBindUserPhoneNumberPost(String phoneNumber, String openId, String password, String verifyCode) throws ApiException
phoneNumber
- 用户绑定手机号 (required)openId
- 用户唯一openid (required)password
- 设置密码 (required)verifyCode
- 验证码 (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> authUsersBindUserPhoneNumberPostWithHttpInfo(String phoneNumber, String openId, String password, String verifyCode) throws ApiException
phoneNumber
- 用户绑定手机号 (required)openId
- 用户唯一openid (required)password
- 设置密码 (required)verifyCode
- 验证码 (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call authUsersBindUserPhoneNumberPostAsync(String phoneNumber, String openId, String password, String verifyCode, ApiCallback<Void> callback) throws ApiException
phoneNumber
- 用户绑定手机号 (required)openId
- 用户唯一openid (required)password
- 设置密码 (required)verifyCode
- 验证码 (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call authUsersLoginPostCall(String phone, String password, String machineId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)machineId
- 机器号,没有可以为空 (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic LoginCredential authUsersLoginPost(String phone, String password, String machineId) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)machineId
- 机器号,没有可以为空 (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LoginCredential> authUsersLoginPostWithHttpInfo(String phone, String password, String machineId) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)machineId
- 机器号,没有可以为空 (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call authUsersLoginPostAsync(String phone, String password, String machineId, ApiCallback<LoginCredential> callback) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)machineId
- 机器号,没有可以为空 (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call authUsersRegisterOrLoginNonpartyPostCall(String openId, String headImage, String machineId, String nickName, String loginModel, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
openId
- 用户唯一openid (required)headImage
- 用户头像 (optional)machineId
- 机器号,没有可以为空 (optional)nickName
- 用户昵称 (optional)loginModel
- 登录类型 QQ weichat weibo (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic LoginCredential authUsersRegisterOrLoginNonpartyPost(String openId, String headImage, String machineId, String nickName, String loginModel) throws ApiException
openId
- 用户唯一openid (required)headImage
- 用户头像 (optional)machineId
- 机器号,没有可以为空 (optional)nickName
- 用户昵称 (optional)loginModel
- 登录类型 QQ weichat weibo (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LoginCredential> authUsersRegisterOrLoginNonpartyPostWithHttpInfo(String openId, String headImage, String machineId, String nickName, String loginModel) throws ApiException
openId
- 用户唯一openid (required)headImage
- 用户头像 (optional)machineId
- 机器号,没有可以为空 (optional)nickName
- 用户昵称 (optional)loginModel
- 登录类型 QQ weichat weibo (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call authUsersRegisterOrLoginNonpartyPostAsync(String openId, String headImage, String machineId, String nickName, String loginModel, ApiCallback<LoginCredential> callback) throws ApiException
openId
- 用户唯一openid (required)headImage
- 用户头像 (optional)machineId
- 机器号,没有可以为空 (optional)nickName
- 用户昵称 (optional)loginModel
- 登录类型 QQ weichat weibo (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call authUsersRegisterPostCall(String phone, String password, String textCode, String machineId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)textCode
- 短信验证码 (required)machineId
- 机器号,没有可以为空 (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic LoginCredential authUsersRegisterPost(String phone, String password, String textCode, String machineId) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)textCode
- 短信验证码 (required)machineId
- 机器号,没有可以为空 (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LoginCredential> authUsersRegisterPostWithHttpInfo(String phone, String password, String textCode, String machineId) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)textCode
- 短信验证码 (required)machineId
- 机器号,没有可以为空 (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call authUsersRegisterPostAsync(String phone, String password, String textCode, String machineId, ApiCallback<LoginCredential> callback) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)textCode
- 短信验证码 (required)machineId
- 机器号,没有可以为空 (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call authUsersResetPasswordPostCall(String phone, String password, String textCode, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)textCode
- 短信验证码 (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void authUsersResetPasswordPost(String phone, String password, String textCode) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)textCode
- 短信验证码 (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> authUsersResetPasswordPostWithHttpInfo(String phone, String password, String textCode) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)textCode
- 短信验证码 (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call authUsersResetPasswordPostAsync(String phone, String password, String textCode, ApiCallback<Void> callback) throws ApiException
phone
- 手机号 (required)password
- 密码 (required)textCode
- 短信验证码 (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call authUsersVerifyTextPostCall(String phone, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
phone
- 手机号 (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic VerifyTestResponse authUsersVerifyTextPost(String phone) throws ApiException
phone
- 手机号 (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<VerifyTestResponse> authUsersVerifyTextPostWithHttpInfo(String phone) throws ApiException
phone
- 手机号 (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call authUsersVerifyTextPostAsync(String phone, ApiCallback<VerifyTestResponse> callback) throws ApiException
phone
- 手机号 (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2017. All rights reserved.