Back

Create Email Session payload

  • 0
  • Users
Hoàng Quốc An
27 May, 2023, 15:52

Hi! i am using createEmailSession but when i view the http payload it doesn't has providerAccessToken. is it right?

TL;DR
The user is asking how to retrieve full data for a Flutter session object. The support person suggests using autocomplete or mouseover to see the available properties. The user then asks about the missing providerAccessToken in the payload for createEmailSession. It is not clarified whether the payload is expected to have the providerAccessToken.
Hoàng Quốc An
27 May, 2023, 15:56

Create Email Session payload

Drake
27 May, 2023, 16:04

Yes, that is expected. That's only populated when using OAuth2

Hoàng Quốc An
27 May, 2023, 16:12

Yes! by the way i use flutter, and when print session, i see "instance of session". How can i claim full data? i see you help with answer "You can mouseover the variable or use autocomplete to see what properties are available." but i don't understand it. sorry i am begginer to flutter.

Hoàng Quốc An
27 May, 2023, 16:13
Drake
27 May, 2023, 16:24

Yes, this is the default behavior for all objects.

Drake
27 May, 2023, 16:25

See this for the autocomplete example: https://code.visualstudio.com/docs/editor/intellisense

Hoàng Quốc An
27 May, 2023, 17:20

Ok. I got it! Tks a lot!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more