/// <summary> /// Gets the grant. /// </summary> /// <param name="key">The key.</param> /// <returns></returns> public async Task <PersistedGrant> GetAsync(string key) { return(await _repository .GetAsync(key, CancellationToken.None)); }