Share via


CookieExpiration Class

The configuration settings of the session cookie's expiration.

Constructor

CookieExpiration(*, convention: str | _models.CookieExpirationConvention | None = None, time_to_expiration: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
convention

The convention used when determining the session cookie's expiration. Known values are: "FixedTime" and "IdentityProviderDerived".

Default value: None
time_to_expiration
str

The time after the request is made when the session cookie should expire.

Default value: None

Variables

Name Description
convention

The convention used when determining the session cookie's expiration. Known values are: "FixedTime" and "IdentityProviderDerived".

time_to_expiration
str

The time after the request is made when the session cookie should expire.