/// <summary>
 /// 登入
 /// </summary>
 /// <param name="ticket">身份验证票据</param>
 public static void SignIn(OwinAuthenticationTicket ticket)
 {
     var authentication = GetAuthentication();
     authentication.SignIn(ticket.Properties, ticket.Identities);
 }
예제 #2
0
        /// <summary>
        /// 登入
        /// </summary>
        /// <param name="ticket">身份验证票据</param>
        public static void SignIn(OwinAuthenticationTicket ticket)
        {
            var authentication = GetAuthentication();

            authentication.SignIn(ticket.Properties, ticket.Identities);
        }