actions
auth()
function auth(event, config): ReturnType<App.Locals["auth"]>
Parameters
Parameter | Type |
---|---|
event | RequestEvent |
config | SvelteKitAuthConfig |
Returns
ReturnType
<App.Locals
["auth"
]>
signIn()
function signIn(
provider,
options,
authorizationParams,
config,
event): Promise<any>
Parameters
Parameter | Type |
---|---|
provider | undefined | ProviderId |
options | | undefined | FormData | { redirect : boolean ; redirectTo : string ; } & Record <string , any > |
authorizationParams | | undefined | string | Record <string , string > | URLSearchParams | string [][] |
config | SvelteKitAuthConfig |
event | RequestEvent |
Returns
Promise
<any
>
signOut()
function signOut(
options,
config,
event): Promise<any>
Parameters
Parameter | Type |
---|---|
options | | undefined | { redirect : boolean ; redirectTo : string ; } |
config | SvelteKitAuthConfig |
event | RequestEvent |
Returns
Promise
<any
>