Browse Source

Regenerate client proxies

pull/17737/head
Halil İbrahim Kalkan 3 years ago
parent
commit
7a29bb4348
  1. 1
      modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityUserLookupAppService.cs
  2. 34
      modules/identity/src/Volo.Abp.Identity.HttpApi.Client/ClientProxies/Volo/Abp/Identity/Integration/IdentityUserIntegrationClientProxy.Generated.cs
  3. 252
      modules/identity/src/Volo.Abp.Identity.HttpApi.Client/ClientProxies/identity-generate-proxy.json

1
modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityUserLookupAppService.cs

@ -7,6 +7,7 @@ using Volo.Abp.Users;
namespace Volo.Abp.Identity;
[Obsolete("Use IIdentityUserIntegrationService for module-to-module (or service-to-service) communication.")]
[Authorize(IdentityPermissions.UserLookup.Default)]
public class IdentityUserLookupAppService : IdentityAppServiceBase, IIdentityUserLookupAppService
{

34
modules/identity/src/Volo.Abp.Identity.HttpApi.Client/ClientProxies/Volo/Abp/Identity/Integration/IdentityUserIntegrationClientProxy.Generated.cs

@ -8,7 +8,9 @@ using Volo.Abp.DependencyInjection;
using Volo.Abp.Http.Client;
using Volo.Abp.Http.Client.ClientProxying;
using Volo.Abp.Http.Modeling;
using Volo.Abp.Identity;
using Volo.Abp.Identity.Integration;
using Volo.Abp.Users;
// ReSharper disable once CheckNamespace
namespace Volo.Abp.Identity.Integration;
@ -25,4 +27,36 @@ public partial class IdentityUserIntegrationClientProxy : ClientProxyBase<IIdent
{ typeof(Guid), id }
});
}
public virtual async Task<UserData> FindByIdAsync(Guid id)
{
return await RequestAsync<UserData>(nameof(FindByIdAsync), new ClientProxyRequestTypeValue
{
{ typeof(Guid), id }
});
}
public virtual async Task<UserData> FindByUserNameAsync(string userName)
{
return await RequestAsync<UserData>(nameof(FindByUserNameAsync), new ClientProxyRequestTypeValue
{
{ typeof(string), userName }
});
}
public virtual async Task<ListResultDto<UserData>> SearchAsync(UserLookupSearchInputDto input)
{
return await RequestAsync<ListResultDto<UserData>>(nameof(SearchAsync), new ClientProxyRequestTypeValue
{
{ typeof(UserLookupSearchInputDto), input }
});
}
public virtual async Task<long> GetCountAsync(UserLookupCountInputDto input)
{
return await RequestAsync<long>(nameof(GetCountAsync), new ClientProxyRequestTypeValue
{
{ typeof(UserLookupCountInputDto), input }
});
}
}

252
modules/identity/src/Volo.Abp.Identity.HttpApi.Client/ClientProxies/identity-generate-proxy.json

@ -1296,6 +1296,74 @@
"type": "System.String[]",
"typeSimple": "[string]"
}
},
{
"name": "FindByIdAsync",
"parametersOnMethod": [
{
"name": "id",
"typeAsString": "System.Guid, System.Private.CoreLib",
"type": "System.Guid",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Abp.Users.UserData",
"typeSimple": "Volo.Abp.Users.UserData"
}
},
{
"name": "FindByUserNameAsync",
"parametersOnMethod": [
{
"name": "userName",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Abp.Users.UserData",
"typeSimple": "Volo.Abp.Users.UserData"
}
},
{
"name": "SearchAsync",
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Abp.Identity.UserLookupSearchInputDto, Volo.Abp.Identity.Application.Contracts",
"type": "Volo.Abp.Identity.UserLookupSearchInputDto",
"typeSimple": "Volo.Abp.Identity.UserLookupSearchInputDto",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Abp.Application.Dtos.ListResultDto<Volo.Abp.Users.UserData>",
"typeSimple": "Volo.Abp.Application.Dtos.ListResultDto<Volo.Abp.Users.UserData>"
}
},
{
"name": "GetCountAsync",
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Abp.Identity.UserLookupCountInputDto, Volo.Abp.Identity.Application.Contracts",
"type": "Volo.Abp.Identity.UserLookupCountInputDto",
"typeSimple": "Volo.Abp.Identity.UserLookupCountInputDto",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "System.Int64",
"typeSimple": "number"
}
}
]
}
@ -1337,6 +1405,190 @@
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Identity.Integration.IIdentityUserIntegrationService"
},
"FindByIdAsyncById": {
"uniqueName": "FindByIdAsyncById",
"name": "FindByIdAsync",
"httpMethod": "GET",
"url": "integration-api/identity/users/{id}",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "id",
"typeAsString": "System.Guid, System.Private.CoreLib",
"type": "System.Guid",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "id",
"name": "id",
"jsonName": null,
"type": "System.Guid",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": [],
"bindingSourceId": "Path",
"descriptorName": ""
}
],
"returnValue": {
"type": "Volo.Abp.Users.UserData",
"typeSimple": "Volo.Abp.Users.UserData"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Identity.Integration.IIdentityUserIntegrationService"
},
"FindByUserNameAsyncByUserName": {
"uniqueName": "FindByUserNameAsyncByUserName",
"name": "FindByUserNameAsync",
"httpMethod": "GET",
"url": "integration-api/identity/users/by-username/{userName}",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "userName",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "userName",
"name": "userName",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": [],
"bindingSourceId": "Path",
"descriptorName": ""
}
],
"returnValue": {
"type": "Volo.Abp.Users.UserData",
"typeSimple": "Volo.Abp.Users.UserData"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Identity.Integration.IIdentityUserIntegrationService"
},
"SearchAsyncByInput": {
"uniqueName": "SearchAsyncByInput",
"name": "SearchAsync",
"httpMethod": "GET",
"url": "integration-api/identity/users/search",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Abp.Identity.UserLookupSearchInputDto, Volo.Abp.Identity.Application.Contracts",
"type": "Volo.Abp.Identity.UserLookupSearchInputDto",
"typeSimple": "Volo.Abp.Identity.UserLookupSearchInputDto",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "input",
"name": "Filter",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": "input"
},
{
"nameOnMethod": "input",
"name": "Sorting",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": "input"
},
{
"nameOnMethod": "input",
"name": "SkipCount",
"jsonName": null,
"type": "System.Int32",
"typeSimple": "number",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": "input"
},
{
"nameOnMethod": "input",
"name": "MaxResultCount",
"jsonName": null,
"type": "System.Int32",
"typeSimple": "number",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": "input"
}
],
"returnValue": {
"type": "Volo.Abp.Application.Dtos.ListResultDto<Volo.Abp.Users.UserData>",
"typeSimple": "Volo.Abp.Application.Dtos.ListResultDto<Volo.Abp.Users.UserData>"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Identity.Integration.IIdentityUserIntegrationService"
},
"GetCountAsyncByInput": {
"uniqueName": "GetCountAsyncByInput",
"name": "GetCountAsync",
"httpMethod": "GET",
"url": "integration-api/identity/users/count",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Abp.Identity.UserLookupCountInputDto, Volo.Abp.Identity.Application.Contracts",
"type": "Volo.Abp.Identity.UserLookupCountInputDto",
"typeSimple": "Volo.Abp.Identity.UserLookupCountInputDto",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "input",
"name": "Filter",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": "input"
}
],
"returnValue": {
"type": "System.Int64",
"typeSimple": "number"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Identity.Integration.IIdentityUserIntegrationService"
}
}
}

Loading…
Cancel
Save