
######
Common
######


****
NAME
****


Kernel::GenericInterface::Operation::Session::Common - Base class for Session Operations


****************
PUBLIC INTERFACE
****************


CreateSessionID()
=================


performs user authentication and return a new SessionID value


.. code-block:: perl

     my $SessionID = $CommonObject->CreateSessionID(
         Data {
             UserLogin         => 'Agent1',          # optional, provide UserLogin or CustomerUserLogin
             # or
             CustomerUserLogin => 'Customer1',       # optional, provide UserLogin or CustomerUserLogin
 
             Password       => 'some password',      # plain text password
             TwoFactorToken => '23071988',           # optional, two factor token
         }
     );


Returns undef on failure or


.. code-block:: perl

     $SessionID = 'AValidSessionIDValue';         # the new session id value





