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() ); }
public TableStoragePersistedGrantStore(PersistedGrantContext context) { this._context = context; }