Share via


WebAppCookieExpiration Class

Definition

The configuration settings of the session cookie's expiration.

public class WebAppCookieExpiration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.WebAppCookieExpiration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.WebAppCookieExpiration>
type WebAppCookieExpiration = class
    interface IJsonModel<WebAppCookieExpiration>
    interface IPersistableModel<WebAppCookieExpiration>
Public Class WebAppCookieExpiration
Implements IJsonModel(Of WebAppCookieExpiration), IPersistableModel(Of WebAppCookieExpiration)
Inheritance
WebAppCookieExpiration
Implements

Constructors

WebAppCookieExpiration()

Initializes a new instance of WebAppCookieExpiration.

Properties

Convention

The convention used when determining the session cookie's expiration.

TimeToExpiration

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<WebAppCookieExpiration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<WebAppCookieExpiration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebAppCookieExpiration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebAppCookieExpiration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<WebAppCookieExpiration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to