FusionInventory::Agent::HTTP::Session - An abstract HTTP session
This is an abstract class for HTTP sessions. It can be used to store peer connection status.
The constructor. The following parameters are allowed, as keys of the %params hash:
the logger object to use (default: a new stderr logger)
the initial timer used when restoring a session from storage
the nonce used to compute the final secret when restoring a session from storage
the session timeout for session expiration (default to 60, in seconds)
Return true if provided secret matches the token.
Return true when a session expired.
Return session nonce creating one if not available.
Return session hash to be stored for session persistence.
To install FusionInventory::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FusionInventory::Agent
CPAN shell
perl -MCPAN -e shell install FusionInventory::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.