/// <summary>
 /// Initializes a new instance of the <see cref="PersistedGrantStore"/> class.
 /// </summary>
 /// <param name="persistedGrantProvider">the provider.</param>
 /// <param name="logger">the logger.</param>
 public PersistedGrantStore(IPersistedGrantProvider persistedGrantProvider, ILogger <ClientStore> logger)
 {
     _persistedgrantprovider = persistedGrantProvider ?? throw new ArgumentNullException(nameof(persistedGrantProvider));
     _logger = logger;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PersistedGrantStore"/> class.
 /// </summary>
 /// <param name="persistedGrantProvider">the provider.</param>
 public PersistedGrantStore(IPersistedGrantProvider persistedGrantProvider)
 {
     _persistedGrantProvider = persistedGrantProvider ?? throw new ArgumentNullException(nameof(persistedGrantProvider));
 }