diff --git a/docs/content/2.configuration/2.nuxt-config.md b/docs/content/2.configuration/2.nuxt-config.md index 4f7dd152..07a56028 100644 --- a/docs/content/2.configuration/2.nuxt-config.md +++ b/docs/content/2.configuration/2.nuxt-config.md @@ -193,6 +193,13 @@ type ProviderLocal = { * @example Beer */ type?: string, + /** + * It refers to the name of the property when it is stored in a cookie. + * + * @default auth:token + * @example auth.token + */ + cookieName?: string, /** * Header name to be used in requests that need to be authenticated, e.g., to be used in the `getSession` request. * @@ -323,6 +330,13 @@ type ProviderRefresh = { * @example Beer */ type?: string, + /** + * It refers to the name of the property when it is stored in a cookie. + * + * @default auth:token + * @example auth.token + */ + cookieName?: string, /** * Header name to be used in requests that need to be authenticated, e.g., to be used in the `getSession` request. * @@ -365,6 +379,13 @@ type ProviderRefresh = { * @example / Access the root of the sign-in response object, useful when your endpoint returns a plain, non-object string as the refreshToken */ signInResponseRefreshTokenPointer?: string + /** + * It refers to the name of the property when it is stored in a cookie. + * + * @default auth:token + * @example auth.token + */ + cookieName?: string, /** * Maximum age to store the authentication token for. After the expiry time the token is automatically deleted on the application side, i.e., in the users' browser. *