Sign in

Type: MonoCloudStatePartialOptions

Partial configuration options for authentication state handling.

Properties

PropertyTypeDescription
cookie?Partial<MonoCloudStateCookieOptions>Partial configuration for the state cookie. This cookie temporarily stores authorization transaction data required to validate the callback response and prevent replay or CSRF attacks.
duration?numberThe lifetime of an authorization transaction in seconds.
maxConcurrent?numberThe maximum number of concurrent sign-in transactions retained. When a new sign in would exceed the limit, the earliest pending transactions are evicted first. Set to 1 for sequential sign-ins, where starting a new sign in discards the previous pending one. Must be between 1 and 20.
© 2024 MonoCloud. All rights reserved.