Exemple #1
0
        public async Task RemoveAsync(string key)
        {
            this._context.PersistedGrants.Delete(await _context.PersistedGrants.FindByIndexAsync(key).ConfigureAwait(false));

            await Task.WhenAll(
                this._context.PersistedGrants.DeleteByKey(PersistedGrantContext.FixPartitionKey(key), ""),
                this._context.SaveChangesAsync()
                );
        }
Exemple #2
0
 public TableStoragePersistedGrantStore(PersistedGrantContext context)
 {
     this._context = context;
 }