AuthConfig
Defined in: src/plugins/auth.ts:37
Properties
Section titled “Properties”cookieOptions?
Section titled “cookieOptions?”
optionalcookieOptions:object
Defined in: src/plugins/auth.ts:40
httpOnly?
Section titled “httpOnly?”
optionalhttpOnly:boolean
maxAge?
Section titled “maxAge?”
optionalmaxAge:number
optionalpath:string
sameSite?
Section titled “sameSite?”
optionalsameSite:"Lax"|"Strict"|"None"
secure?
Section titled “secure?”
optionalsecure:boolean
jwtExpiration?
Section titled “jwtExpiration?”
optionaljwtExpiration:string
Defined in: src/plugins/auth.ts:39
jwtSecret
Section titled “jwtSecret”jwtSecret:
string|Uint8Array<ArrayBufferLike>
Defined in: src/plugins/auth.ts:38
onSuccess()?
Section titled “onSuccess()?”
optionalonSuccess: (user,ctx) =>any
Defined in: src/plugins/auth.ts:47
Parameters
Section titled “Parameters”Returns
Section titled “Returns”any
providers
Section titled “providers”providers:
object
Defined in: src/plugins/auth.ts:48
Index Signature
Section titled “Index Signature”[key: string]: ProviderConfig
apple?
Section titled “apple?”
optionalapple:ProviderConfig
auth0?
Section titled “auth0?”
optionalauth0:ProviderConfig
github?
Section titled “github?”
optionalgithub:ProviderConfig
google?
Section titled “google?”
optionalgoogle:ProviderConfig
microsoft?
Section titled “microsoft?”
optionalmicrosoft:ProviderConfig
oauth2?
Section titled “oauth2?”
optionaloauth2:ProviderConfig
optionalokta:ProviderConfig