appwrite / sdk-for-dart

[READ-ONLY] Official Appwrite Dart SDK 💙
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
113 stars 17 forks source link

Question: How do I generate user session? #52

Closed WilliamCunhaCardoso closed 7 months ago

WilliamCunhaCardoso commented 11 months ago

I want to, when a given email and password, authenticate and generate session. I cannot find proper methods for it under Users and Account class. Can someone help me?

lohanidamodar commented 10 months ago

@WilliamCunhaCardoso You should use Account service for methods related to authentication. Also be advised, our sdk-for-dart is a server side SDK that is used in pair with API_KEY. If you are looking for client side SDK for Flutter please check https://github.com/appwrite/sdk-for-flutter To learn more about Account service you can head over to docs at https://appwrite.io/docs/references/cloud/client-web/account