You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Enables/disables automatic registration of '/auth/login' and '/auth/logout' route rules
29
-
* @default false
30
-
*/
31
-
customLoginPage?: boolean
32
-
}
33
-
34
-
exportinterfaceDevModeConfig{
35
-
/**
36
-
* Enables/disables the dev mode. Dev mode can only be enabled when the app runs in a non production environment.
37
-
* @default false
38
-
*/
39
-
enabled?: boolean
40
-
/**
41
-
* Sets the `userName` field on the user object
42
-
* @default 'Nuxt OIDC Auth Dev'
43
-
*/
44
-
userName?: string
45
-
/**
46
-
* Sets the `providerInfo` field on the user object
47
-
*/
48
-
providerInfo?: ProviderInfo
49
-
/**
50
-
* Sets the key algorithm for signing the generated JWT token
51
-
*/
52
-
tokenAlgorithm?: 'symmetric'|'asymmetric'
53
-
/**
54
-
* Sets the `idToken` field on the user object
55
-
*/
56
-
idToken?: string
57
-
/**
58
-
* Sets the `accessToken` field on the user object
59
-
*/
60
-
accessToken?: string
61
-
/**
62
-
* Sets the claims field on the user object and generated JWT token if `generateAccessToken` is set to `true`.
63
-
*/
64
-
claims?: Record<string,string>
65
-
/**
66
-
* If set generates a JWT token for the access_token field based on the given user information
67
-
* @default false
68
-
*/
69
-
generateAccessToken?: boolean
70
-
/**
71
-
* Only used with `generateAccessToken`. Sets the issuer field on the generated JWT token.
72
-
* @default 'nuxt:oidc:auth:issuer
73
-
*/
74
-
issuer?: string
75
-
/**
76
-
* Only used with `generateAccessToken`. Sets the audience field on the generated JWT token.
77
-
* @default 'nuxt:oidc:auth:audience
78
-
*/
79
-
audience?: string
80
-
/**
81
-
* Only used with `generateAccessToken`. Sets the subject field on the generated JWT token.
82
-
* @default 'nuxt:oidc:auth:subject
83
-
*/
84
-
subject?: string
85
-
}
16
+
interfaceClientFunctions{}
86
17
87
-
exportinterfaceModuleOptions{
88
-
/**
89
-
* Enable module
90
-
*/
91
-
enabled: boolean
92
-
/**
93
-
* Enable Nuxt devtools integration
94
-
* @default true
95
-
*/
96
-
devtools?: boolean
97
-
/**
98
-
* Default provider. Will be used with composable if no provider is specified
99
-
*/
100
-
defaultProvider?: ProviderKeys
101
-
/**
102
-
* OIDC providers
103
-
*/
104
-
providers: Partial<ProviderConfigs>
105
-
/**
106
-
* Optional session configuration.
107
-
*/
108
-
session: AuthSessionConfig
109
-
/**
110
-
* Middleware configuration
111
-
*/
112
-
middleware: MiddlewareConfig
113
-
/**
114
-
* Dev mode configuration
115
-
*/
116
-
devMode?: DevModeConfig
117
-
/**
118
-
* Provide defaults for NUXT_OIDC_SESSION_SECRET, NUXT_OIDC_TOKEN_KEY and NUXT_OIDC_AUTH_SESSION_SECRET using a Nitro plugin. Turning this off can lead to the app not working if no secrets are provided.
* Default provider. Will be used with composable if no provider is specified
248
+
*/
249
+
defaultProvider?: ProviderKeys
250
+
/**
251
+
* OIDC providers
252
+
*/
253
+
providers: Partial<ProviderConfigs>
254
+
/**
255
+
* Optional session configuration.
256
+
*/
257
+
session: AuthSessionConfig
258
+
/**
259
+
* Middleware configuration
260
+
*/
261
+
middleware: MiddlewareConfig
262
+
/**
263
+
* Dev mode configuration
264
+
*/
265
+
devMode?: DevModeConfig
266
+
/**
267
+
* Provide defaults for NUXT_OIDC_SESSION_SECRET, NUXT_OIDC_TOKEN_KEY and NUXT_OIDC_AUTH_SESSION_SECRET using a Nitro plugin. Turning this off can lead to the app not working if no secrets are provided.
0 commit comments