Skip to main content

Module validate

Module validate 

Source

Enums§

RotationValidationError
Errors from validating a rotation request before it is sent to the server.

Constants§

MAX_ACCOUNT_IDENTITY_LENGTH 🔒
Maximum length of a config’s account_identity, matching the server’s column.
MAX_NAME_LENGTH 🔒
Maximum length of a connector or target-system name, matching the server’s column.

Functions§

validate_account_identity 🔒
validate_config_request 🔒
Validates a rotation config request. terminate_sessions is checked against the target separately, since that needs a network call.
validate_name 🔒
Validates a name against the server’s length limit, counted in UTF-16 code units as the server’s nvarchar column counts them.
validate_schedule_cron 🔒
Validates a set cron expression; None means no schedule. Only the shape is checked, since the server owns the minimum-interval floor.