Commit dca165b 1 parent da56171 commit dca165b Copy full SHA for dca165b
File tree 1 file changed +14
-13
lines changed
1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,22 @@ export type NextAuthSharedOptions =
14
14
| "theme"
15
15
| "debug"
16
16
| "logger"
17
+ | "session"
17
18
18
19
export interface AppOptions
19
- extends Pick < NextAuthOptions , NextAuthSharedOptions > {
20
+ extends Required < Pick < NextAuthOptions , NextAuthSharedOptions > > {
21
+ providers : AppProvider [ ]
22
+ baseUrl : string
23
+ basePath : string
24
+ action :
25
+ | "providers"
26
+ | "session"
27
+ | "csrf"
28
+ | "signin"
29
+ | "signout"
30
+ | "callback"
31
+ | "verify-request"
32
+ | "error"
20
33
pkce ?: {
21
34
code_verifier ?: string
22
35
/**
@@ -27,18 +40,6 @@ export interface AppOptions
27
40
code_challenge_method ?: "S256"
28
41
}
29
42
provider ?: AppProvider
30
- providers : AppProvider [ ]
31
- baseUrl ?: string
32
- basePath ?: string
33
- action ?:
34
- | "providers"
35
- | "session"
36
- | "csrf"
37
- | "signin"
38
- | "signout"
39
- | "callback"
40
- | "verify-request"
41
- | "error"
42
43
csrfToken ?: string
43
44
csrfTokenVerified ?: boolean
44
45
}
You can’t perform that action at this time.
0 commit comments