Sholo.Web.Security/Authentication/Device/Provider/CacheDeviceAuthenticationTicketProvider.cs
/// <summary>
/// Updates the expiration date and time for an existing ticket.  If the ticket does
/// not exist in the ticket store, just return (do not throw an exception).
/// </summary>
/// <param name="ticket">The DeviceAuthenticationTicket to insert</param>
/// <param name="newExpiration">The new expiration date and time</param>
/// <exception cref="ArgumentNullException">DeviceAuthenticationTicket is null</exception>
Updates the expiration date and time for an existing ticket.  If the ticket does
not exist in the ticket store, just return (do not throw an exception).
Updates the expiration date and time for an existing ticket . If the ticket does not exist in the ticket store just return ( do not throw an exception ) .
public override void UpdateTicketExpiration(DeviceAuthenticationTicket ticket, DateTime newExpiration)
        {
            if (ticket == null)
            {
                throw new ArgumentNullException("ticket", "DeviceAuthenticationTicket parameter cannot be null.");
            }
            RevokeTicket(ticket.Key);
            InsertTicket(ticket, newExpiration);
        }
public override void UpdateTicketExpiration ( DeviceAuthenticationTicket ticket , DateTime newExpiration ) { if ( ticket == null ) { throw new ArgumentNullException ( " " , " " ) ; } RevokeTicket ( ticket . Key ) ; InsertTicket ( ticket , newExpiration ) ; }
Updates the expiration date and time for an existing ticket.
Updates the expiration date and time for an existing ticket .
DeviceAuthenticationTicket is null
DeviceAuthenticationTicket is null
ticket
DeviceAuthenticationTicket
The DeviceAuthenticationTicket to insert
The DeviceAuthenticationTicket to insert
newExpiration
DateTime
The new expiration date and time
The new expiration date and time