Package version:
Optional
authSeconds the session should last for. Range is 60 to 86400 seconds. Default value is 600.
Optional
deviceUnique 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.
Optional
deviceWhether 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.
Optional
enableWhether or not store the session image.
Type of liveness mode the client should follow.
Possible values: "Passive", "PassiveActive"
Optional
livenessThe 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"
Optional
sendWhether 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.