public class AlipayOpenAuthUserauthRelationshipApi extends Object
| 构造器和说明 |
|---|
AlipayOpenAuthUserauthRelationshipApi() |
AlipayOpenAuthUserauthRelationshipApi(ApiClient apiClient) |
public AlipayOpenAuthUserauthRelationshipApi()
public AlipayOpenAuthUserauthRelationshipApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call queryCall(String userId, String openId, String scopes, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
userId - 蚂蚁统一会员ID,如果未开启openid改造,则此值必传 (optional)openId - 蚂蚁统一会员ID,蚂蚁统一会员ID,如果已完成openid改造,则此值必传 (optional)scopes - 查询授权关系所关联的scope,半角逗号分隔的列表,且不允许有重复值 (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AlipayOpenAuthUserauthRelationshipQueryResponseModel query(String userId, String openId, String scopes) throws ApiException
userId - 蚂蚁统一会员ID,如果未开启openid改造,则此值必传 (optional)openId - 蚂蚁统一会员ID,蚂蚁统一会员ID,如果已完成openid改造,则此值必传 (optional)scopes - 查询授权关系所关联的scope,半角逗号分隔的列表,且不允许有重复值 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AlipayOpenAuthUserauthRelationshipQueryResponseModel query(String userId, String openId, String scopes, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenAuthUserauthRelationshipQueryResponseModel> queryWithHttpInfo(String userId, String openId, String scopes, CustomizedParams customizedParams) throws ApiException
userId - 蚂蚁统一会员ID,如果未开启openid改造,则此值必传 (optional)openId - 蚂蚁统一会员ID,蚂蚁统一会员ID,如果已完成openid改造,则此值必传 (optional)scopes - 查询授权关系所关联的scope,半角逗号分隔的列表,且不允许有重复值 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String userId, String openId, String scopes, ApiCallback<AlipayOpenAuthUserauthRelationshipQueryResponseModel> _callback) throws ApiException
userId - 蚂蚁统一会员ID,如果未开启openid改造,则此值必传 (optional)openId - 蚂蚁统一会员ID,蚂蚁统一会员ID,如果已完成openid改造,则此值必传 (optional)scopes - 查询授权关系所关联的scope,半角逗号分隔的列表,且不允许有重复值 (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 object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String userId, String openId, String scopes, ApiCallback<AlipayOpenAuthUserauthRelationshipQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.