Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Hutter committed Nov 30, 2023
1 parent f034257 commit e788160
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion playground-local/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default defineNuxtConfig({
},
token: {
signInResponseTokenPointer: '/token/accessToken'
},
}
},
session: {
// Whether to refresh the session every time the browser window is refocused.
Expand Down
2 changes: 1 addition & 1 deletion playground-local/server/api/auth/login.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ export default eventHandler(async (event) => {
refreshToken
}
}
})
})
4 changes: 2 additions & 2 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const defaultsByBackend: {
headerName: 'Authorization',
maxAgeInSeconds: 30 * 60,
sameSiteAttribute: 'lax'
},
}
},

refresh: {
Expand All @@ -82,7 +82,7 @@ const defaultsByBackend: {
refreshToken: {
signInResponseRefreshTokenPointer: '/refreshToken',
maxAgeInSeconds: 60 * 60 * 24 * 7 // 7 days
},
}
},

authjs: {
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,4 +436,4 @@ export type SignInFunc<PrimarySignInOptions, SignInResult> = (
primaryOptions: PrimarySignInOptions,
signInOptions?: SecondarySignInOptions,
paramsOptions?: Record<string, string>
) => Promise<SignInResult>;
) => Promise<SignInResult>;

0 comments on commit e788160

Please sign in to comment.