Appearance
zero-auth API Documentation v1.6.0
zero-auth API Documentation / CookieConfig
Interface: CookieConfig
Defined in: packages/zero-auth/src/types/auth.ts:194
Cookie-specific configuration within AuthConfig.
Properties
accessTokenName?
optionalaccessTokenName?:string
Defined in: packages/zero-auth/src/types/auth.ts:196
Name of the access token cookie.
Default
ts
"access_token"options?
optionaloptions?:CookieOptions
Defined in: packages/zero-auth/src/types/auth.ts:200
Base cookie options applied to both token cookies.
refreshTokenName?
optionalrefreshTokenName?:string
Defined in: packages/zero-auth/src/types/auth.ts:198
Name of the refresh token cookie.
Default
ts
"refresh_token"