Example #1
0
        public AuthenticationResult SignOut(IAuthenticationHandler authenticationHandler)
        {
            authenticationHandler.SingOut(_lastResult.User);

            var result = AuthenticationResult.Succeed(User.Anonymous);

            _lastResult = result;
            OnAuthenticationChanged();
            return(result);
        }