src/DotNetCasClient.Redis/State/RedisProxyTicketManager.cs
/// <summary>
/// Method to retrieve a ProxyGrantingTicket based on the
/// ProxyGrantingTicketIou.  Implementations are not guaranteed to
/// return the same result if retieve is called twice with the same
/// proxyGrantingTicketIou.
/// </summary>
/// <param name="proxyGrantingTicketIou">used as the key</param>
/// <returns>the ProxyGrantingTicket Id or null if it can't be found</returns>
Method to retrieve a ProxyGrantingTicket based on the
ProxyGrantingTicketIou.  Implementations are not guaranteed to
return the same result if retieve is called twice with the same
proxyGrantingTicketIou.
Method to retrieve a ProxyGrantingTicket based on the ProxyGrantingTicketIou . Implementations are not guaranteed to return the same result if retieve is called twice with the same proxyGrantingTicketIou .
public string GetProxyGrantingTicket(string proxyGrantingTicketIou)
        {
            CommonUtils.AssertNotNullOrEmpty(proxyGrantingTicketIou, "proxyGrantingTicketIou parameter cannot be null or empty.");
            var key = GetTicketKey(proxyGrantingTicketIou);
            var db = RedisClientManager.Instance.GetDatabase();
            return db.StringGet(key);
        }
public string GetProxyGrantingTicket ( string proxyGrantingTicketIou ) { CommonUtils . AssertNotNullOrEmpty ( proxyGrantingTicketIou , " " ) ; var key = GetTicketKey ( proxyGrantingTicketIou ) ; var db = RedisClientManager . Instance . GetDatabase ( ) ; return db . StringGet ( key ) ; }
Method to retrieve a ProxyGrantingTicket based on the
ProxyGrantingTicketIou.
Method to retrieve a ProxyGrantingTicket based on the ProxyGrantingTicketIou .
the ProxyGrantingTicket Id or null if it can't be found
the ProxyGrantingTicket Id or null if it can ' t be found
proxyGrantingTicketIou
string
used as the key
used as the key