public ClientSecretDto FindSecret([NotNull] string value, string type) { return ClientSecrets.FirstOrDefault(s => s.Type == type && s.Value == value); }
public virtual ClientSecret FindSecret([NotNull] string value, string type = IdentityServerConstants.SecretTypes.SharedSecret) { return(ClientSecrets.FirstOrDefault(s => s.Type == type && s.Value == value)); }