This article describes the different logic operators that are supported by Okta's Rest API.
- Okta Classic Engine
- Okta Identity Engine (OIE)
|
Operator |
Description |
Behavior |
|---|---|---|
|
|
equal |
The attribute and operand values must be identical for a match. |
|
|
greater than or equal |
If the attribute value is greater than or equal to the operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison. |
|
gt |
greater than |
If the attribute value is greater than the operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison. |
|
le |
less than or equal |
If the attribute value is less than or equal to the operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison. |
|
|
less than |
If the attribute value is less than the operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison. |
|
|
not equal |
If the attribute value does not match the operand value, there is a match. |
|
|
present (has value) |
If the attribute has a non-empty value or if it contains a non-empty node for complex attributes, there is a match. |
|
|
starts with |
The entire operand value must be a substring of the attribute value that starts at the beginning of the attribute value. This criterion is satisfied if the two strings are identical. |
