Interface ISessionConfiguration

interface ISessionConfiguration {
    absoluteTimeoutMillis: number;
    maximumNumberOfParallelSessions: number;
    renewalTimeoutMillis: number;
    userAgentValidationRequired: boolean;
}

Properties

absoluteTimeoutMillis: number

The maximum amount of time a session can be active.

maximumNumberOfParallelSessions: number

The maximum amount of sessions per user.

renewalTimeoutMillis: number

The timeout after which the session id is automatically renewed. If there is no activity after renewal timeout and before absolute session timeout, the session will not be renewed.

userAgentValidationRequired: boolean

If true, then every request needs to use the same User-Agent header as the first request which initiated the session.