DateTimeContext
The DateTimeContext context specifies an allowed or disallowed date or time range. Only a date range or a time range can be specified. Risk is applied to the authentication if the current time is outside an allowed range or inside a disallowed range. A date range specifies a start and end date. For example 2019/01/01 to 2019/03/01. A time range species a start and end time and days of the week. For example Monday to Friday, 8am to 5pm.
Properties
Name | Type | Description | Notes |
---|---|---|---|
AllowedDateTime | bool? | If true, the startDateTime and endDateTime define the allowed range. If false, the startDateTime and endDateTime define the denied range. | [optional] |
AllowedTime | bool? | If true, the startTime and endTime define the allowed time range. If false, the startTime and endTime define the denied time range. | [optional] |
DenyAccess | bool | If true, the resource rule evaluating the context will return Access Denied. | |
EndDateTime | DateTime? | If specifying a date range, the end date of the range. | [optional] |
EndTime | string | If specifying a time range, the end time of the range. The value should be of the form hh:mm:ss | [optional] |
RiskPoint | int | The number of risk points that apply if this context applies. | |
StartDateTime | DateTime? | If specifying a date range, the start date of the range. | [optional] |
StartTime | string | If specifying a time range, the start time of the range. The value should be of the form hh:mm:ss | [optional] |
WeekDays | List<DateTimeContext.WeekDaysEnum> | If specifying a time range, the days of the week to which the time range will apply. | [optional] |
ZoneId | ZoneId | [optional] |