/// <inheritdoc />
        protected override async Task <TUser> FindUserAsync(TKey userId, CancellationToken cancellationToken)
        {
            cancellationToken.ThrowIfCancellationRequested();
            ThrowIfDisposed();
            var user = await UsersRecord.FindByIdAsync(userId);

            return(user);
        }
        /// <inheritdoc />
        public override async Task <TUser> FindByIdAsync(string userId, CancellationToken cancellationToken)
        {
            cancellationToken.ThrowIfCancellationRequested();
            ThrowIfDisposed();
            var id   = ConvertIdFromString(userId);
            var user = await UsersRecord.FindByIdAsync(id);

            return(user);
        }