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
Name | Type | Description | Notes |
---|---|---|---|
allowed | bool | If true, the list of countries defines allowed countries. If false, the list of countries defines denied countries. | |
anonymous_allowed | bool | If true, then allows anonymous/TOR IP addresses. If false, then denies anonymous/TOR IP addresses. | |
country_codes | List[str] | List of country codes (ISO alpha-2) that can access(allowed=true) or not access (allowed=false). | |
deny_access | bool | If true, the resource rule evaluating the context will return Access Denied. | |
risk_point | int | The number of risk points that apply if this context applies. |