Browse Source

Update Client.cs

pull/717/head
Yunus Emre Kalkan 8 years ago
parent
commit
a75d48767c
  1. 5
      modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/Clients/Client.cs

5
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);

Loading…
Cancel
Save