root/trunk/Wierszowki/Wierszowki.Web/Models/FormsAuthenticationService.cs @ 961

Wersja 752, 460 bytes (wprowadzona przez marek, 17 years temu)

wiersz

Line 
1using System.Web.Security;
2using Wierszowki.Models.Interfaces;
3
4namespace Wierszowki.Models
5{
6    public class FormsAuthenticationService : IFormsAuthentication
7    {
8        public void SignIn(string userName, bool createPersistentCookie)
9        {
10            FormsAuthentication.SetAuthCookie(userName, createPersistentCookie);
11        }
12        public void SignOut()
13        {
14            FormsAuthentication.SignOut();
15        }
16    }
17}
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.