Variables Defined in Endpoints

Last updated 9 months ago

Variables Defined in Endpoints

Name

Description

Type

$Request

Request object for an HTTP request.

HttpRequest

$Response

Response object for an HTTP response

HttpResponse

$Location

GeoLocation information for a user. Available when -GeoLocation is specified on New-UDDashboard.

Location

$User

User name for the user that authenticated against the dashboard. Only available when authentication is used.

string

$Cache

Memory cache used by the dashboard server

IMemoryCache

$ClaimsPrinciple

The entire ClaimsPrinciple object for a user. Only available when authentication is used

ClaimsPrinciple

Types available

Location

@{
coords = @{
latitude,
longitude,
accuracy,
altitude,
altitudeAccuracy
heading,
speed
},
timestamp
}