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

CookieExpiration Class

The configuration settings of the session cookie's expiration.

Inheritance
azure.mgmt.web._serialization.Model
CookieExpiration

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".

time_to_expiration
str

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

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.