Skip to content

Commit ac15bd4

Browse files
authored
🔄 synced local 'content/2.nuxt-auth/' with remote 'docs/content/' (#182)
Co-authored-by: sideborg <null>
1 parent 610f397 commit ac15bd4

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

content/2.nuxt-auth/2.configuration/2.nuxt-config.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,20 @@ type ProviderLocal = {
240240
*/
241241
sameSiteAttribute?: boolean | 'lax' | 'strict' | 'none' | undefined,
242242
/**
243-
* The cookie domain. See the specification here: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.3
243+
* Whether to set the secure flag on the cookie. This is useful when the application is served over HTTPS.
244+
*
245+
* @default false
246+
* @example true
247+
*/
248+
secureCookieAttribute?: boolean,
249+
/**
250+
* The cookie domain.
251+
* See the specification here: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.3
244252
*
245253
* @default ''
246-
* @example sidebase.io
254+
* @example 'sidebase.io'
247255
*/
248-
cookieDomain?: string;
256+
cookieDomain?: string,
249257
},
250258
/*
251259
* Settings for the session-data that `nuxt-auth` receives from the `getSession` endpoint.
@@ -401,12 +409,20 @@ type ProviderRefresh = {
401409
*/
402410
sameSiteAttribute?: boolean | 'lax' | 'strict' | 'none' | undefined,
403411
/**
404-
* The cookie domain. See the specification here: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.3
412+
* Whether to set the secure flag on the cookie. This is useful when the application is served over HTTPS.
413+
*
414+
* @default false
415+
* @example true
416+
*/
417+
secureCookieAttribute?: boolean,
418+
/**
419+
* The cookie domain.
420+
* See the specification here: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.3
405421
*
406422
* @default ''
407-
* @example sidebase.io
423+
* @example 'sidebase.io'
408424
*/
409-
cookieDomain?: string;
425+
cookieDomain?: string,
410426
},
411427
/**
412428
* Settings for the authentication-refreshToken that `nuxt-auth` receives from the `signIn` endpoint and that can be used to authenticate subsequent requests.

0 commit comments

Comments
 (0)