Page tree

Checks if the user logged in.

Endpoint

https://<Director_IP_address>:4443/c/router

Request Example

curl
curl --request POST \
	--url https://<Director_IP_address>:4443/c/router \
	--header "content-type: application/json" \
	--cookie @cookies.txt \
	--data "{
		"action": "AuthenticationManagement",
		"method": "isLogged",
		"type": "rpc",
		"tid": 1}"

Request Fields

Field
Type
Value(s)
Description
actionstring
AuthenticationManagement
The action that is invoked
methodstring
isLogged
The method that is invoked
typestringrpcType of communication protocol
tidinteger1Transaction ID. Used to identify the request by both the client and the server

Response Sample

{
	"action": "AuthenticationManagement",
	"method": "isLogged",
	"tid": "1",
	"type": "rpc",
	"message": null,
	"where": null,
	"cause": null,
	"data": true
}

Response Fields

Field
Value
Description
messagestringMessage if the request failed
wherestringReference to the method where a problem occurred
causestringCause of failure
databooleantrue if the user is logged in, false otherwise



  • No labels