/// <summary></summary>
        /// <param name="context"></param>
        /// <param name="authenticationTypes"></param>
        public static void SignOut(this HttpContextBase context, params string[] authenticationTypes)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            OwinResponse response = GetOwinResponse(context);

            response.Revoke(authenticationTypes);
        }
示例#2
0
 public void SignOut(string[] authenticationTypes)
 {
     _response.Revoke(authenticationTypes);
 }