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