Helpful
    Preparing search index...

    Represents a builder for an IZCookie object.

    Index

    Constructors

    Properties

    immortal: () => this = ...

    Removes the cookie expiration.

    Type Declaration

      • (): this
      • Returns this

        This object.

    lax: (...args: []) => ZCookieBuilder = ...

    Sets the same site policy to 'lax'

    Type Declaration

    strict: (...args: []) => ZCookieBuilder = ...

    Sets the same site polity to 'strict'

    Type Declaration

    MillisecondsOneDay: 86400000

    Methods

    • Creates a token based authentication cookie.

      Parameters

      • Optionaltoken: string

        The token value for the cookie. You can leave this as undefined to set it later.

      Returns this

      This object.