src/DotNetCasClient.Redis/State/RedisProxyTicketManager.cs
/// <summary>
/// Method to save the ProxyGrantingTicket to the backing storage facility.
/// </summary>
/// <param name="proxyGrantingTicketIou">used as the key</param>
/// <param name="proxyGrantingTicket">used as the value</param>
Method to save the ProxyGrantingTicket to the backing storage facility.
Method to save the ProxyGrantingTicket to the backing storage facility .
public void InsertProxyGrantingTicketMapping(string proxyGrantingTicketIou, string proxyGrantingTicket)
        {
            CommonUtils.AssertNotNullOrEmpty(proxyGrantingTicketIou, "proxyGrantingTicketIou parameter cannot be null or empty.");
            CommonUtils.AssertNotNullOrEmpty(proxyGrantingTicket, "proxyGrantingTicket parameter cannot be null or empty.");
            var key = GetTicketKey(proxyGrantingTicketIou);
            var db = RedisClientManager.Instance.GetDatabase();
            db.StringSet(key, proxyGrantingTicket,
                DefaultExpiration);
        }
public void InsertProxyGrantingTicketMapping ( string proxyGrantingTicketIou , string proxyGrantingTicket ) { CommonUtils . AssertNotNullOrEmpty ( proxyGrantingTicketIou , " " ) ; CommonUtils . AssertNotNullOrEmpty ( proxyGrantingTicket , " " ) ; var key = GetTicketKey ( proxyGrantingTicketIou ) ; var db = RedisClientManager . Instance . GetDatabase ( ) ; db . StringSet ( key , proxyGrantingTicket , DefaultExpiration ) ; }
Method to save the ProxyGrantingTicket to the backing storage facility.
Method to save the ProxyGrantingTicket to the backing storage facility .
proxyGrantingTicketIou
string
used as the key
used as the key
proxyGrantingTicket
string
used as the value
used as the value