Sholo.Web.Security/Authentication/User/Provider/CacheUserAuthenticationTicketProvider.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 UserAuthenticationTicket to insert</param>
/// <param name="newExpiration">The new expiration date and time</param>
/// <exception cref="ArgumentNullException">UserAuthenticationTicket 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(UserAuthenticationTicket ticket, DateTime newExpiration)
        {
            if (ticket == null)
            {
                throw new ArgumentNullException("ticket", "UserAuthenticationTicket parameter cannot be null.");
            }
            RevokeTicket(ticket.Key);
            InsertTicket(ticket, newExpiration);
        }
public override void UpdateTicketExpiration ( UserAuthenticationTicket 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 .
UserAuthenticationTicket is null
UserAuthenticationTicket is null
ticket
UserAuthenticationTicket
The UserAuthenticationTicket to insert
The UserAuthenticationTicket to insert
newExpiration
DateTime
The new expiration date and time
The new expiration date and time