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