diff --git a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/Clients/Client.cs b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/Clients/Client.cs index cc2fae9900..8c4846102b 100644 --- a/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/Clients/Client.cs +++ b/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/Clients/Client.cs @@ -168,11 +168,6 @@ namespace Volo.Abp.IdentityServer.Clients ClientSecrets.RemoveAll(s => s.Value == value && s.Type == type); } - public virtual void RemoveAllSecrets() - { - ClientSecrets.Clear(); - } - public virtual ClientSecret FindSecret([NotNull] string value, string type = IdentityServerConstants.SecretTypes.SharedSecret) { return ClientSecrets.FirstOrDefault(s => s.Type == type && s.Value == value);