AppHarbor.Web.Security.AuthenticatorExtensions.SetCookie C# (CSharp) Method

SetCookie() public static method

public static SetCookie ( this authenticator, string username ) : void
authenticator this
username string
return void
        public static void SetCookie(this IAuthenticator authenticator, string username)
        {
            authenticator.SetCookie(new System.Security.Claims.ClaimsIdentity(new GenericIdentity(username, "cookie")));
        }
    }
AuthenticatorExtensions