HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    Class SessionHandlingOptions

    Provides options for configuring session context behavior.

    Inheritance
    object
    SessionHandlingOptions
    Namespace: Singulink.Net.Http.Api.Service
    Assembly: Singulink.Net.Http.Api.Service.dll
    Syntax
    public sealed class SessionHandlingOptions

    Properties

    Name Description
    CookieDomain

    Gets or sets the domain that the session cookie applies to. Leave null (the default) to scope the cookie to the host that issued it. Set to a parent domain (e.g. ".example.com") to share the session across subdomains — in that case the same value must be configured on every application that participates in the shared session, and they must all share the same data-protection key ring so the encrypted cookie can be read across hosts.

    CookiePath

    Gets or sets the path that the session cookie applies to. Default is "/".

    ForcedAccessOptions

    Gets or sets the forced session access options that are applied to all session token retrievals. Default is None.

    MultipleRefreshGracePeriod

    Gets or sets the grace period during which a session token from the previous generation is still accepted from the same device. This allows concurrent requests (or connections that were established with the previous token) that have not yet received the updated token cookie to continue without invalidating the session. The grace period timer starts when the response carrying the refreshed token is sent to the client (i.e. when the session store is updated with the new generation). Default is 2 minutes.

    PersistentSessionExpiry

    Gets or sets the expiry duration for persistent sessions. Default is 30 days.

    SessionCookieName

    Gets or sets the name of the cookie that holds the encrypted session token. Default is "session-token".

    TempSessionExpiry

    Gets or sets the expiry duration for temporary (non-persistent) sessions. Default is 1 day.

    UserIdPreconditionQueryName

    Gets or sets the query parameter name for the user ID precondition. Default is "if-userId".

    © Singulink. All rights reserved.