Exemplo n.º 1
0
        public void DestroyTicket(String ticket, String username)
        {
            CASTicketResult t = CASTicketResult.GetToken(this.Database, Service, ticket, username);

            if (t.Success)
            {
                t.Destroy(this.Database);
            }
        }
Exemplo n.º 2
0
        public void DestroyTicket(String ticket, String username)
        {
            CASTicketResult t = CASTicketResult.GetToken(Path.Combine(BasePath.FullName, "tickets"), Service, ticket, username);

            if (t.Success)
            {
                t.Destroy(BasePath.FullName);
            }
        }