Browse Source

feat(openiddict): Add `FrontChannelLogoutUri`

pull/1416/head
colin 4 months ago
parent
commit
7026261496
  1. 2
      aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Applications/OpenIddictApplicationCreateOrUpdateDto.cs
  2. 1
      aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Applications/OpenIddictApplicationDto.cs
  3. 2
      aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application/LINGYUN/Abp/OpenIddict/Applications/OpenIddictApplicationExtensions.cs

2
aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Applications/OpenIddictApplicationCreateOrUpdateDto.cs

@ -42,4 +42,6 @@ public abstract class OpenIddictApplicationCreateOrUpdateDto : ExtensibleObject
public string ClientUri { get; set; }
public string LogoUri { get; set; }
public string FrontChannelLogoutUri { get; set; }
}

1
aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Applications/OpenIddictApplicationDto.cs

@ -27,4 +27,5 @@ public class OpenIddictApplicationDto : ExtensibleAuditedEntityDto<Guid>, IHasCo
public string LogoUri { get; set; }
public string JsonWebKeySet { get; set; }
public string ConcurrencyStamp { get; set; }
public string FrontChannelLogoutUri { get; set; }
}

2
aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application/LINGYUN/Abp/OpenIddict/Applications/OpenIddictApplicationExtensions.cs

@ -26,6 +26,7 @@ internal static class OpenIddictApplicationExtensions
entity.ClientUri = dto.ClientUri;
entity.ClientType = dto.ClientType;
entity.LogoUri = dto.LogoUri;
entity.FrontChannelLogoutUri = dto.FrontChannelLogoutUri;
TrySetSettings(jsonSerializer, dto, entity);
TrySetRequirements(jsonSerializer, dto, entity);
@ -105,6 +106,7 @@ internal static class OpenIddictApplicationExtensions
LogoUri = entity.LogoUri,
JsonWebKeySet = entity.JsonWebKeySet,
ConcurrencyStamp = entity.ConcurrencyStamp,
FrontChannelLogoutUri = entity.FrontChannelLogoutUri,
};
var settings = jsonSerializer.DeserializeToDictionary<string, string>(entity.Settings);

Loading…
Cancel
Save