Session can now be extended in Malan. This adds support for that, with two changes:
Added new (optional) params to the session create (login) function. These can be used to configure what is allowed for extensions on the function. Parameters are:
max_extension_secs: The maximum number of seconds into the future
that sessions can be extended to at any given time.
extendable_until_seconds: The absolute latest the token will be
valid. No extensions can take the token life beyond this point.
The max point is calculated at session creation time by adding
this parameter to the current time.
Added new function session.extend(..) that can be used to extend a token. This takes one (optional) parameter expireInSeconds that includes the number of seconds into the future that the token should now be valid
Session can now be extended in Malan. This adds support for that, with two changes:
Added new (optional) params to the session create (login) function. These can be used to configure what is allowed for extensions on the function. Parameters are:
max_extension_secs
: The maximum number of seconds into the future that sessions can be extended to at any given time.extendable_until_seconds
: The absolute latest the token will be valid. No extensions can take the token life beyond this point. The max point is calculated at session creation time by adding this parameter to the current time.Added new function
session.extend(..)
that can be used to extend a token. This takes one (optional) parameterexpireInSeconds
that includes the number of seconds into the future that the token should now be valid