REST.Backend.EMSProvider.TEMSServiceAPIAuth.Login
Delphi
procedure Login(const ALogin: TBackendEntityValue);
C++
void __fastcall Login(const Rest::Backend::Metatypes::TBackendEntityValue &ALogin);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | REST.Backend.EMSProvider.pas REST.Backend.EMSProvider.hpp |
REST.Backend.EMSProvider | TEMSServiceAPIAuth |
Description
Stores the session authentication token of the specified login object to use it on future requests
You may use TEMSLoginAPI.LoginUser to obtain an instance of TBackendEntityValue that you can pass to Login.
Exceptions
Exception | Message | Description |
---|---|---|
Session token required |
The session authentication token in the specified login object is an empty string. |