你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

CookieExpiration Class

The configuration settings of the session cookie's expiration.

Constructor

CookieExpiration()

Variables

Name Description
convention
Union[str, <xref:"CookieExpirationConvention">]

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

timeToExpiration
str

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

Attributes

convention

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

convention: str | CookieExpirationConvention

timeToExpiration

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

timeToExpiration: str