AIVisionFaceModelFactory.CreateLivenessSessionResult(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of CreateLivenessSessionResult.
public static Azure.AI.Vision.Face.CreateLivenessSessionResult CreateLivenessSessionResult (string sessionId = default, string authToken = default);
static member CreateLivenessSessionResult : string * string -> Azure.AI.Vision.Face.CreateLivenessSessionResult
Public Shared Function CreateLivenessSessionResult (Optional sessionId As String = Nothing, Optional authToken As String = Nothing) As CreateLivenessSessionResult
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.
Returns
A new CreateLivenessSessionResult instance for mocking.