src/DotNetCasClient.Redis/State/RedisServiceTicketManager.cs
/// <summary>
/// Removes the ticket from the collection if it exists.  If the ticket does not
/// exist in the ticket store, just return (do not throw an exception).
/// </summary>
/// <param name="serviceTicket">The ticket to remove from the ticket store</param>
/// <exception cref="ArgumentNullException">serviceTicket is null</exception>
/// <exception cref="ArgumentException">serviceTicket is empty</exception>
Removes the ticket from the collection if it exists.  If the ticket does not
exist in the ticket store, just return (do not throw an exception).
Removes the ticket from the collection if it exists . If the ticket does not exist in the ticket store just return ( do not throw an exception ) .
public void RevokeTicket(string serviceTicket)
        {
            CommonUtils.AssertNotNullOrEmpty(serviceTicket, "serviceTicket parameter cannot be null or empty.");
            var key = GetTicketKey(serviceTicket);
            var db = RedisClientManager.Instance.GetDatabase();
            db.KeyDelete(key);
        }
public void RevokeTicket ( string serviceTicket ) { CommonUtils . AssertNotNullOrEmpty ( serviceTicket , " " ) ; var key = GetTicketKey ( serviceTicket ) ; var db = RedisClientManager . Instance . GetDatabase ( ) ; db . KeyDelete ( key ) ; }
Removes the ticket from the collection if it exists.
Removes the ticket from the collection if it exists .
serviceTicket is null
serviceTicket is null
serviceTicket is empty
serviceTicket is empty
serviceTicket
string
The ticket to remove from the ticket store
The ticket to remove from the ticket store