Show / Hide Table of Contents

Class IdentityClaimTypeAppService

Inheritance
object
IdentityClaimTypeAppService
Implements
IIdentityClaimTypeAppService
ICrudAppService<ClaimTypeDto, Guid, GetIdentityClaimTypesInput, CreateClaimTypeDto, UpdateClaimTypeDto>
ICrudAppService<ClaimTypeDto, ClaimTypeDto, Guid, GetIdentityClaimTypesInput, CreateClaimTypeDto, UpdateClaimTypeDto>
IReadOnlyAppService<ClaimTypeDto, ClaimTypeDto, Guid, GetIdentityClaimTypesInput>
IApplicationService
IRemoteService
ICreateUpdateAppService<ClaimTypeDto, Guid, CreateClaimTypeDto, UpdateClaimTypeDto>
ICreateAppService<ClaimTypeDto, CreateClaimTypeDto>
IUpdateAppService<ClaimTypeDto, Guid, UpdateClaimTypeDto>
IDeleteAppService<Guid>
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Pro.Application.dll
Syntax
[Authorize("AbpIdentity.ClaimTypes")]
public class IdentityClaimTypeAppService : ApplicationService, IIdentityClaimTypeAppService, ICrudAppService<ClaimTypeDto, Guid, GetIdentityClaimTypesInput, CreateClaimTypeDto, UpdateClaimTypeDto>, ICrudAppService<ClaimTypeDto, ClaimTypeDto, Guid, GetIdentityClaimTypesInput, CreateClaimTypeDto, UpdateClaimTypeDto>, IReadOnlyAppService<ClaimTypeDto, ClaimTypeDto, Guid, GetIdentityClaimTypesInput>, IApplicationService, IRemoteService, ICreateUpdateAppService<ClaimTypeDto, Guid, CreateClaimTypeDto, UpdateClaimTypeDto>, ICreateAppService<ClaimTypeDto, CreateClaimTypeDto>, IUpdateAppService<ClaimTypeDto, Guid, UpdateClaimTypeDto>, IDeleteAppService<Guid>

Constructors

IdentityClaimTypeAppService(IdentityClaimTypeManager, IIdentityClaimTypeRepository)

Declaration
public IdentityClaimTypeAppService(IdentityClaimTypeManager identityClaimTypeManager, IIdentityClaimTypeRepository identityClaimTypeRepository)
Parameters
Type Name Description
IdentityClaimTypeManager identityClaimTypeManager
IIdentityClaimTypeRepository identityClaimTypeRepository

Properties

IdentityClaimTypeManager

Declaration
protected IdentityClaimTypeManager IdentityClaimTypeManager { get; }
Property Value
Type Description
IdentityClaimTypeManager

IdentityClaimTypeRepository

Declaration
protected IIdentityClaimTypeRepository IdentityClaimTypeRepository { get; }
Property Value
Type Description
IIdentityClaimTypeRepository

Methods

CreateAsync(CreateClaimTypeDto)

Declaration
[Authorize("AbpIdentity.ClaimTypes.Create")]
public virtual Task<ClaimTypeDto> CreateAsync(CreateClaimTypeDto input)
Parameters
Type Name Description
CreateClaimTypeDto input
Returns
Type Description
Task<ClaimTypeDto>

DeleteAsync(Guid)

Declaration
[Authorize("AbpIdentity.ClaimTypes.Delete")]
public virtual Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetAllListAsync()

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

GetAsync(Guid)

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

GetListAsync(GetIdentityClaimTypesInput)

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

MapClaimTypeToDto(IdentityClaimType)

Declaration
protected virtual ClaimTypeDto MapClaimTypeToDto(IdentityClaimType claimType)
Parameters
Type Name Description
IdentityClaimType claimType
Returns
Type Description
ClaimTypeDto

MapListClaimTypeToListDto(List<IdentityClaimType>)

Declaration
protected virtual List<ClaimTypeDto> MapListClaimTypeToListDto(List<IdentityClaimType> claimTypes)
Parameters
Type Name Description
List<IdentityClaimType> claimTypes
Returns
Type Description
List<ClaimTypeDto>

UpdateAsync(Guid, UpdateClaimTypeDto)

Declaration
[Authorize("AbpIdentity.ClaimTypes.Update")]
public virtual Task<ClaimTypeDto> UpdateAsync(Guid id, UpdateClaimTypeDto input)
Parameters
Type Name Description
Guid id
UpdateClaimTypeDto input
Returns
Type Description
Task<ClaimTypeDto>

Implements

IIdentityClaimTypeAppService
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