actions
auth()
function auth(event, config): Promise<null | Session>Parameters
| Parameter | Type |
|---|---|
event | RequestEvent |
config | SvelteKitAuthConfig |
Returns
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>