Skip to main content

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

NameTypeDescriptionNotes
allowedDateTimeBooleanIf true, the startDateTime and endDateTime define the allowed range. If false, the startDateTime and endDateTime define the denied range.[optional]
allowedTimeBooleanIf true, the startTime and endTime define the allowed time range. If false, the startTime and endTime define the denied time range.[optional]
denyAccessBooleanIf true, the resource rule evaluating the context will return Access Denied.
endDateTimeOffsetDateTimeIf specifying a date range, the end date of the range.[optional]
endTimeStringIf specifying a time range, the end time of the range. The value should be of the form hh:mm:ss[optional]
riskPointIntegerThe number of risk points that apply if this context applies.
startDateTimeOffsetDateTimeIf specifying a date range, the start date of the range.[optional]
startTimeStringIf specifying a time range, the start time of the range. The value should be of the form hh:mm:ss[optional]
weekDaysList<WeekDaysEnum>If specifying a time range, the days of the week to which the time range will apply.[optional]
zoneIdZoneId[optional]

List<WeekDaysEnum>

NameValue
MON"Mon"
TUE"Tue"
WED"Wed"
THU"Thu"
FRI"Fri"
SAT"Sat"
SUN"Sun"