public override async Task FindByIdAsync()

in src/Amazon.AspNetCore.Identity.Cognito/CognitoUserManager.cs [97:110]


        public override async Task<TUser> FindByIdAsync(string userId)
        {
            ThrowIfDisposed();
            if (userId == null)
            {
                throw new ArgumentNullException(nameof(userId));
            }
            var user = await _userStore.FindByIdAsync(userId, CancellationToken).ConfigureAwait(false);
            if (user != null)
            {
                await PopulateTokens(user, ClaimTypes.Name, userId).ConfigureAwait(false);
            }
            return user;
        }