Module

Yoga.BetterAuth.Om.Client

Package
purescript-yoga-better-auth
Repository
rowtype-yoga/purescript-yoga-better-auth

#signUpEmail Source

signUpEmail :: forall r err. { email :: Email, name :: UserName, password :: Password } -> Om { authClient :: AuthClient | r } (authError :: ClientError | err) ClientSignUpResult

#signInEmail Source

signInEmail :: forall r err. { email :: Email, password :: Password } -> Om { authClient :: AuthClient | r } (authError :: ClientError | err) ClientSignInResult

#signOut Source

signOut :: forall r err. Om { authClient :: AuthClient | r } (authError :: ClientError | err) { success :: Boolean }

#getSession Source

getSession :: forall r err. Om { authClient :: AuthClient | r } (authError :: ClientError | err) ClientSessionWithUser

#signInSocial Source

signInSocial :: forall r err opts opts_. Union opts opts_ SignInSocialOptionsImpl => { provider :: ProviderId | opts } -> Om { authClient :: AuthClient | r } (authError :: ClientError | err) SignInSocialResult