Skip to main content

LocationContext

The location context specifies allowed or denied country codes. Risk is applied to the authentication if the location of the current IP address does not match an allowed country or matches a disallowed country.

Properties

NameTypeDescriptionNotes
AllowedboolIf true, the list of countries defines allowed countries. If false, the list of countries defines denied countries.
AnonymousAllowedboolIf true, then allows anonymous/TOR IP addresses. If false, then denies anonymous/TOR IP addresses.
CountryCodesList<string>List of country codes (ISO alpha-2) that can access(allowed=true) or not access (allowed=false).
DenyAccessboolIf true, the resource rule evaluating the context will return Access Denied.
RiskPointintThe number of risk points that apply if this context applies.