Guest login
|
XML name |
base:GuestLoginRequest |
|
Class name |
de.lobster.scm.base.authentication.GuestLoginRequest |
The GuestLoginRequest can be used both via REST and via Lobster _data expansions.
<base:GuestLoginRequest xmlns:base='SCM.BASE' loginToken="7264E89B-5321-E5A3-9E69-8B01A131D44A" locale="de" clientType="Custom Rest Client" forceLogin="true" />Login is performed by entering the guest user token (loginToken) (see Guest users).
Should the guest user not exist or not be valid anymore, an exception is raised, which causes the login to fail.
|
Parameter |
Required? |
Description |
Example |
loginToken |
|
The guest user login token to be used for logging on. |
loginToken="7264E89B-5321-E5A3-9E69-8B01A131D44A" |
locale |
|
Here, the language set for the user can be overwritten for this session. |
locale="de" |
clientType |
|
Indication of the client type. The flex client here uses e.g. 'Flex'. Note that, for every client type and user, only one simultaneous login is permitted. |
clientType="Custom Rest Client" |
forceLogin |
|
If 'true', a possibly existing session is logged off for this user with this client type. If forceLogin='false' and a session already exists, an exception is raised. |
forceLogin="true" |