Variables Defined in Endpoints

Variables Defined in Endpoints

Name

Description

Type

$Request

Request object for an HTTP request.

$Response

Response object for an HTTP response

$Location

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

$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

$ClaimsPrincipal

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

Types available

Location

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

Last updated