Beispiel #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);
            }
        }
Beispiel #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);
            }
        }