Home >

LunaSH Command Reference Guide > LunaSH Commands > htl > htl set ottexpiry

htl set ottexpiry

Set the HTL one-time token expiry time for a client.

Syntax

htl set ottExpiry -client <clientname> {-timeout <seconds> | -default}

Parameter Shortcut Description
-client -c

Specifies the client for which you want to specify the timeout. This is the client name provided when you registered the client using the client register command.

-default -d

specifes that you want to use the system default specified by the htl set defaultottexpiry command, rather than the values specified by the -timeout parameter. This parameter is just a toggle.

-timeout -t

Specifies the timeout for the specified client, in seconds. Use a value of 0 to indicate that the that the one-time token never times out.

Range: 0 to 3600

Example

lunacm:> htl set ottExpiry -client myclient -timeout 45  
     
'htl set ottExpiry' successful.
 
Command Result : 0 (Success)