Share via


FaceSessionClient Class

Definition

The FaceSession service client.

public class FaceSessionClient
type FaceSessionClient = class
Public Class FaceSessionClient
Inheritance
FaceSessionClient

Constructors

FaceSessionClient()

Initializes a new instance of FaceSessionClient for mocking.

FaceSessionClient(Uri, AzureKeyCredential, AzureAIVisionFaceClientOptions)

Initializes a new instance of FaceSessionClient.

FaceSessionClient(Uri, AzureKeyCredential)

Initializes a new instance of FaceSessionClient.

FaceSessionClient(Uri, TokenCredential, AzureAIVisionFaceClientOptions)

Initializes a new instance of FaceSessionClient.

FaceSessionClient(Uri, TokenCredential)

Initializes a new instance of FaceSessionClient.

Properties

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

CreateLivenessSession(CreateLivenessSessionContent, CancellationToken)

Create a new detect liveness session.

CreateLivenessSession(RequestContent, RequestContext)

[Protocol Method] Create a new detect liveness session.

CreateLivenessSessionAsync(CreateLivenessSessionContent, CancellationToken)

Create a new detect liveness session.

CreateLivenessSessionAsync(RequestContent, RequestContext)

[Protocol Method] Create a new detect liveness session.

CreateLivenessWithVerifySession(CreateLivenessWithVerifySessionContent, Stream, CancellationToken)

Create a new liveness session with verify. Provide the verify image during session creation.

CreateLivenessWithVerifySessionAsync(CreateLivenessWithVerifySessionContent, Stream, CancellationToken)

Create a new liveness session with verify. Provide the verify image during session creation.

DeleteLivenessSession(String, RequestContext)

[Protocol Method] Delete all session related information for matching the specified session id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteLivenessSessionAsync(String, RequestContext)

[Protocol Method] Delete all session related information for matching the specified session id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteLivenessWithVerifySession(String, RequestContext)

[Protocol Method] Delete all session related information for matching the specified session id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteLivenessWithVerifySessionAsync(String, RequestContext)

[Protocol Method] Delete all session related information for matching the specified session id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DetectFromSessionImage(RequestContent, String, String, Nullable<Boolean>, IEnumerable<FaceAttributeType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, RequestContext)

[Protocol Method] Detect human faces in an image, return face rectangles, and optionally with faceIds, landmarks, and attributes.

DetectFromSessionImage(String, Nullable<FaceDetectionModel>, Nullable<FaceRecognitionModel>, Nullable<Boolean>, IEnumerable<FaceAttributeType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, CancellationToken)

Detect human faces in an image, return face rectangles, and optionally with faceIds, landmarks, and attributes.

DetectFromSessionImageAsync(RequestContent, String, String, Nullable<Boolean>, IEnumerable<FaceAttributeType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, RequestContext)

[Protocol Method] Detect human faces in an image, return face rectangles, and optionally with faceIds, landmarks, and attributes.

DetectFromSessionImageAsync(String, Nullable<FaceDetectionModel>, Nullable<FaceRecognitionModel>, Nullable<Boolean>, IEnumerable<FaceAttributeType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, CancellationToken)

Detect human faces in an image, return face rectangles, and optionally with faceIds, landmarks, and attributes.

GetLivenessSessionAuditEntries(String, String, Nullable<Int32>, CancellationToken)

Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-session-audit-entries for more details.

GetLivenessSessionAuditEntries(String, String, Nullable<Int32>, RequestContext)

[Protocol Method] Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-session-audit-entries for more details.

GetLivenessSessionAuditEntriesAsync(String, String, Nullable<Int32>, CancellationToken)

Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-session-audit-entries for more details.

GetLivenessSessionAuditEntriesAsync(String, String, Nullable<Int32>, RequestContext)

[Protocol Method] Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-session-audit-entries for more details.

GetLivenessSessionResult(String, CancellationToken)

Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-session-result for more details.

GetLivenessSessionResult(String, RequestContext)

[Protocol Method] Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-session-result for more details.

GetLivenessSessionResultAsync(String, CancellationToken)

Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-session-result for more details.

GetLivenessSessionResultAsync(String, RequestContext)

[Protocol Method] Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-session-result for more details.

GetLivenessSessions(String, Nullable<Int32>, CancellationToken)

Lists sessions for /detectLiveness/SingleModal.

GetLivenessSessions(String, Nullable<Int32>, RequestContext)

[Protocol Method] Lists sessions for /detectLiveness/SingleModal.

GetLivenessSessionsAsync(String, Nullable<Int32>, CancellationToken)

Lists sessions for /detectLiveness/SingleModal.

GetLivenessSessionsAsync(String, Nullable<Int32>, RequestContext)

[Protocol Method] Lists sessions for /detectLiveness/SingleModal.

GetLivenessWithVerifySessionAuditEntries(String, String, Nullable<Int32>, CancellationToken)

Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-with-verify-session-audit-entries for more details.

GetLivenessWithVerifySessionAuditEntries(String, String, Nullable<Int32>, RequestContext)

[Protocol Method] Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-with-verify-session-audit-entries for more details.

GetLivenessWithVerifySessionAuditEntriesAsync(String, String, Nullable<Int32>, CancellationToken)

Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-with-verify-session-audit-entries for more details.

GetLivenessWithVerifySessionAuditEntriesAsync(String, String, Nullable<Int32>, RequestContext)

[Protocol Method] Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-with-verify-session-audit-entries for more details.

GetLivenessWithVerifySessionResult(String, CancellationToken)

Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-with-verify-session-result for more details.

GetLivenessWithVerifySessionResult(String, RequestContext)

[Protocol Method] Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-with-verify-session-result for more details.

GetLivenessWithVerifySessionResultAsync(String, CancellationToken)

Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-with-verify-session-result for more details.

GetLivenessWithVerifySessionResultAsync(String, RequestContext)

[Protocol Method] Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-liveness-with-verify-session-result for more details.

GetLivenessWithVerifySessions(String, Nullable<Int32>, CancellationToken)

Lists sessions for /detectLivenessWithVerify/SingleModal.

GetLivenessWithVerifySessions(String, Nullable<Int32>, RequestContext)

[Protocol Method] Lists sessions for /detectLivenessWithVerify/SingleModal.

GetLivenessWithVerifySessionsAsync(String, Nullable<Int32>, CancellationToken)

Lists sessions for /detectLivenessWithVerify/SingleModal.

GetLivenessWithVerifySessionsAsync(String, Nullable<Int32>, RequestContext)

[Protocol Method] Lists sessions for /detectLivenessWithVerify/SingleModal.

GetSessionImage(String, CancellationToken)

Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-session-image for more details.

GetSessionImage(String, RequestContext)

[Protocol Method] Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-session-image for more details.

GetSessionImageAsync(String, CancellationToken)

Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-session-image for more details.

GetSessionImageAsync(String, RequestContext)

[Protocol Method] Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-session-image for more details.

Applies to