/// <summary> /// 获取Token /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public async Task <GetSecurityTokenResponse> GetSecurityToken(GetSecurityTokenRequest request) { return(await new GetSecurityTokenExecutor().Client(this).Execute <GetSecurityTokenResponse, GetSecurityTokenResult, GetSecurityTokenRequest>(request).ConfigureAwait(false)); }
/// <summary> /// 获取Token /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public GetSecurityTokenResponse GetSecurityToken(GetSecurityTokenRequest request) { return(new GetSecurityTokenExecutor().Client(this).Execute <GetSecurityTokenResponse, GetSecurityTokenResult, GetSecurityTokenRequest>(request)); }