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