コンテンツにスキップ

OIDCClientCookieSettings

このコンテンツはまだ日本語訳がありません。

Cookie settings

Properties

expires?

optional expires: number

Session expiration (ms)

  • If not set, same as data expiration.
  • If set to 0 , it becomes session cookie.

Defined in

src/types.ts:260


httpOnly

httpOnly: boolean

httpOnly flag

Default

true

Defined in

src/types.ts:245


path

path: string

path

Default

"/"

Defined in

src/types.ts:254


sameSite

sameSite: boolean | "strict" | "none" | "lax"

sameSite flag

  • If baseUrl and issueUrl are from the same domain, it can be set to strict

Default

"lax"

Defined in

src/types.ts:252


secure

secure: boolean

secure flag

Default

true

Defined in

src/types.ts:247


sessionIdName

sessionIdName: string

Neme for session id

  • Add type definition manually
    • e.g. t.Cookie({ "__Host-sid": t.Optional(t.String()) })

Default

"__Host-sid"

See

Search for Cookie Name Prefixes in RFX6265bis

Defined in

src/types.ts:243