appwrite/sdk-for-dart

Question: How do I generate user session?

WilliamCunhaCardoso opened this issue · 1 comments

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?

@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