heyitsmass / BayView

The next generation reservation tracking and notification system
https://bayview.dev
MIT License
1 stars 2 forks source link

ItineraryFlow Identity methods #28

Closed heyitsmass closed 11 months ago

heyitsmass commented 1 year ago

These methods should get and set the identity of the current user. The set method should be initiated from another internal function after authenticating the users' current identity. This can be something such as validating the JWT stored on the users' end with the one stored in the database and invalidating their identity if it's invalid.

https://github.com/heyitsmass/BayView/blob/b335f46bd55299100313360e111e700b8bc3f6a0/src/types/ItineraryManager.ts#L56-L62