Package version:
OptionalauthSeconds the session should last for. Range is 60 to 86400 seconds. Default value is 600.
OptionaldeviceUnique Guid per each end-user device. This is to provide rate limiting and anti-hammering. If 'deviceCorrelationIdSetInClient' is true in this request, this 'deviceCorrelationId' must be null.
OptionaldeviceWhether or not to allow client to set their own 'deviceCorrelationId' via the Vision SDK. Default is false, and 'deviceCorrelationId' must be set in this request body.
OptionalenableWhether or not store the session image.
Type of liveness mode the client should follow.
Possible values: "Passive", "PassiveActive"
OptionallivenessThe model version used for liveness classification. This is an optional parameter, and if this is not specified, then the latest supported model version will be chosen
Possible values: "2022-10-15-preview.04", "2023-12-20-preview.06"
OptionalsendWhether or not to allow a '200 - Success' response body to be sent to the client, which may be undesirable for security reasons. Default is false, clients will receive a '204 - NoContent' empty body response. Regardless of selection, calling Session GetResult will always contain a response body enabling business logic to be implemented.
Request model for creating liveness session.