Show / Hide Table of Contents

Class IdentityResourceAppService

Inheritance
object
IdentityServerAppServiceBase
IdentityResourceAppService
Implements
IIdentityResourceAppService
ICrudAppService<IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput, CreateIdentityResourceDto, UpdateIdentityResourceDto>
ICrudAppService<IdentityResourceWithDetailsDto, IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput, CreateIdentityResourceDto, UpdateIdentityResourceDto>
IReadOnlyAppService<IdentityResourceWithDetailsDto, IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput>
IApplicationService
IRemoteService
ICreateUpdateAppService<IdentityResourceWithDetailsDto, Guid, CreateIdentityResourceDto, UpdateIdentityResourceDto>
ICreateAppService<IdentityResourceWithDetailsDto, CreateIdentityResourceDto>
IUpdateAppService<IdentityResourceWithDetailsDto, Guid, UpdateIdentityResourceDto>
IDeleteAppService<Guid>
Namespace: Volo.Abp.IdentityServer.IdentityResource
Assembly: Volo.Abp.IdentityServer.Application.dll
Syntax
[Authorize("IdentityServer.IdentityResource")]
public class IdentityResourceAppService : IdentityServerAppServiceBase, IIdentityResourceAppService, ICrudAppService<IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput, CreateIdentityResourceDto, UpdateIdentityResourceDto>, ICrudAppService<IdentityResourceWithDetailsDto, IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput, CreateIdentityResourceDto, UpdateIdentityResourceDto>, IReadOnlyAppService<IdentityResourceWithDetailsDto, IdentityResourceWithDetailsDto, Guid, GetIdentityResourceListInput>, IApplicationService, IRemoteService, ICreateUpdateAppService<IdentityResourceWithDetailsDto, Guid, CreateIdentityResourceDto, UpdateIdentityResourceDto>, ICreateAppService<IdentityResourceWithDetailsDto, CreateIdentityResourceDto>, IUpdateAppService<IdentityResourceWithDetailsDto, Guid, UpdateIdentityResourceDto>, IDeleteAppService<Guid>

Constructors

IdentityResourceAppService(IIdentityResourceRepository, IIdentityResourceDataSeeder)

Declaration
public IdentityResourceAppService(IIdentityResourceRepository identityResourceRepository, IIdentityResourceDataSeeder identityResourceDataSeeder)
Parameters
Type Name Description
IIdentityResourceRepository identityResourceRepository
IIdentityResourceDataSeeder identityResourceDataSeeder

Properties

IdentityResourceDataSeeder

Declaration
protected IIdentityResourceDataSeeder IdentityResourceDataSeeder { get; }
Property Value
Type Description
IIdentityResourceDataSeeder

IdentityResourceRepository

Declaration
protected IIdentityResourceRepository IdentityResourceRepository { get; }
Property Value
Type Description
IIdentityResourceRepository

Methods

CreateAsync(CreateIdentityResourceDto)

Declaration
[Authorize("IdentityServer.IdentityResource.Create")]
public virtual Task<IdentityResourceWithDetailsDto> CreateAsync(CreateIdentityResourceDto input)
Parameters
Type Name Description
CreateIdentityResourceDto input
Returns
Type Description
Task<IdentityResourceWithDetailsDto>

CreateStandardResourcesAsync()

Declaration
[Authorize("IdentityServer.IdentityResource.Create")]
public virtual Task CreateStandardResourcesAsync()
Returns
Type Description
Task

DeleteAsync(Guid)

Declaration
[Authorize("IdentityServer.IdentityResource")]
public virtual Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetAllListAsync()

Declaration
public virtual Task<List<IdentityResourceWithDetailsDto>> GetAllListAsync()
Returns
Type Description
Task<List<IdentityResourceWithDetailsDto>>

GetAsync(Guid)

Declaration
public virtual Task<IdentityResourceWithDetailsDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<IdentityResourceWithDetailsDto>

GetListAsync(GetIdentityResourceListInput)

Declaration
public virtual Task<PagedResultDto<IdentityResourceWithDetailsDto>> GetListAsync(GetIdentityResourceListInput input)
Parameters
Type Name Description
GetIdentityResourceListInput input
Returns
Type Description
Task<PagedResultDto<IdentityResourceWithDetailsDto>>

UpdateAsync(Guid, UpdateIdentityResourceDto)

Declaration
[Authorize("IdentityServer.IdentityResource.Update")]
public virtual Task<IdentityResourceWithDetailsDto> UpdateAsync(Guid id, UpdateIdentityResourceDto input)
Parameters
Type Name Description
Guid id
UpdateIdentityResourceDto input
Returns
Type Description
Task<IdentityResourceWithDetailsDto>

UpdateIdentityResourceClaims(UpdateIdentityResourceDto, IdentityResource)

Declaration
protected virtual void UpdateIdentityResourceClaims(UpdateIdentityResourceDto input, IdentityResource identityResource)
Parameters
Type Name Description
UpdateIdentityResourceDto input
IdentityResource identityResource

UpdateIdentityResourceProperties(UpdateIdentityResourceDto, IdentityResource)

Declaration
protected virtual void UpdateIdentityResourceProperties(UpdateIdentityResourceDto input, IdentityResource identityResource)
Parameters
Type Name Description
UpdateIdentityResourceDto input
IdentityResource identityResource

Implements

IIdentityResourceAppService
Volo.Abp.Application.Services.ICrudAppService<,,,,>
Volo.Abp.Application.Services.ICrudAppService<,,,,,>
Volo.Abp.Application.Services.IReadOnlyAppService<,,,>
Volo.Abp.Application.Services.IApplicationService
Volo.Abp.IRemoteService
Volo.Abp.Application.Services.ICreateUpdateAppService<,,,>
Volo.Abp.Application.Services.ICreateAppService<,>
Volo.Abp.Application.Services.IUpdateAppService<,,>
Volo.Abp.Application.Services.IDeleteAppService<>
In this article
Back to top Powered by Volosoft