Skip to content

Commit

Permalink
🔄 synced local 'content/2.nuxt-auth/' with remote 'docs/content/' (#168)
Browse files Browse the repository at this point in the history
Co-authored-by: sideborg <null>
  • Loading branch information
sideborg authored Feb 29, 2024
1 parent 9183043 commit de2ea42
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions content/2.nuxt-auth/2.configuration/2.nuxt-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.refresh-token
* @example auth._refresh-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.
*
Expand Down

0 comments on commit de2ea42

Please sign in to comment.