I am trying to create a login page for an external application that will allow the user to grab files from Laserfiche using C#.net and the RepositoryAccess SDK.
I want to pass credentials to Laserfiche, get a ticket back to use on subsequent calls. This is so I do not have to save the username and password and repeatedly pass them for all followup calls.
1st call
Session.Login(username, password, repository);
var ticket = ???
return ticket;
Subsequent calls
Session.Login(repository, ticket);
// Do things with the session.
How do I get the ticket?
Is this the best way to approach this, or is there an alternative?
I feel like saving the username/password and repeatedly logging with it would be a security issue.