Beispiel #1
0
        /// <summary>
        ///     Log SignInStatus for user and return SignInStatus
        /// </summary>
        /// <param name="status"></param>
        /// <param name="user"></param>
        /// <param name="methodName"></param>
        /// <returns></returns>
        protected async virtual Task <SignInResult> LogResultAsync(SignInResult status, TUser user, [System.Runtime.CompilerServices.CallerMemberName] string methodName = "")
        {
            status.Log(Logger, Resources.FormatLoggingResultMessage(methodName, await UserManager.GetUserIdAsync(user)));

            return(status);
        }