AIVisionFaceModelFactory.CreateLivenessWithVerifySessionResult Method

Definition

Initializes a new instance of CreateLivenessWithVerifySessionResult.

public static Azure.AI.Vision.Face.CreateLivenessWithVerifySessionResult CreateLivenessWithVerifySessionResult (string sessionId = default, string authToken = default, Azure.AI.Vision.Face.LivenessWithVerifyImage verifyImage = default);
static member CreateLivenessWithVerifySessionResult : string * string * Azure.AI.Vision.Face.LivenessWithVerifyImage -> Azure.AI.Vision.Face.CreateLivenessWithVerifySessionResult
Public Shared Function CreateLivenessWithVerifySessionResult (Optional sessionId As String = Nothing, Optional authToken As String = Nothing, Optional verifyImage As LivenessWithVerifyImage = Nothing) As CreateLivenessWithVerifySessionResult

Parameters

sessionId
String

The unique session ID of the created session. It will expire 48 hours after it was created or may be deleted sooner using the corresponding Session DELETE operation.

authToken
String

Bearer token to provide authentication for the Vision SDK running on a client application. This Bearer token has limited permissions to perform only the required action and expires after the TTL time. It is also auditable.

verifyImage
LivenessWithVerifyImage

The detail of face for verification.

Returns

A new CreateLivenessWithVerifySessionResult instance for mocking.

Applies to