Configuration API

Get Server Time

copy-icon
curl -X GET \
'https://api.loginradius.com/identity/v2/serverinfo?apikey=&TimeDifference=' \
-H 'Cache-Control: no-cache' \
-H 'content-Type: application/json' \

The above command returns JSON structured like this:

copy-icon
{
"CurrentTime" : "Current time",
"ServerLocation" : "Location of server",
"ServerName" : "server name",
"Sott" : {
"EndTime" : "EndTime",
"ForWardedIP" : "Forwarded IP",
"IP" : "users ip address",
"StartTime" : "Start time",
"TimeDifference" : "Difference between start time and end time"
}
}

This API allows you to query your LoginRadius account for basic server information and server time information which is useful when generating an SOTT token.

HTTP Request

Get /identity/v2/serverinfo?apikey=&TimeDifference=

Query Parameters

ParameterDefaultDescription
apikeynoneLoginRadius API Key [Required]
TimeDifferencenoneThe time difference you would like to pass, If you not pass difference then the default value is 10 minutes [Optional]