Utility class to get and manipulate session. To use with On Mobile App Authentication
database method.
in On Mobile App Authentication
wrap the first input parameters
$auth:=MobileAppServer.Authentication.new($1) // $1 Informations provided by mobile application
Then you can have some information about mobile applications and session or even have a special authentication like sending email
$myAppId:=$auth.getAppId()
$currentSessionFile:=$auth.getSessionFile()
$currentSessionObject:=$auth.getSessionObject()
Setting the status to "pending" ie. not validated yet.
$currentSessionObject.status:="pending"
$currentSessionObject.save() // save to File on disk
$0:=$auth.confirmEmail()
You must configure first your SMTP server to send emails - more detail available here