05-18-2020, 09:38 PM
The function call get_ticket is the right way to do this. For processes that are more automated, you can always pre-create a ticket for service accounts. But if a user is going to check-in, they are going to provide a user/password combo and get_ticket will generate a ticket for that. You can, at that point, store this anywhere, but a cookie is convenient in browsers.