Handlers
struct Handlers
Group of the handlers
methods.
-
Creates a person in Luna ID and puts them on the predefined list.
Declaration
Swift
public func extractor(query: ExtractorQuery, handler: @escaping (Result<ExtractorResponse, Error>) -> Void)
Parameters
query
Request.
handler
Result.
-
Conducts verification by the person’s ID.
Declaration
Swift
public func verify(query: VerifyQuery, handler: @escaping (Result<VerifyResponse, Error>) -> Void)
Parameters
query
Request.
handler
Result.
-
Conducts identification by the photo or descriptor.
Declaration
Swift
public func identify(query: IdentifyQuery, handler: @escaping (Result<IdentifyResponse, Error>) -> Void)
Parameters
query
Request.
handler
Result.
-
Checks input descriptors for similarity.
Declaration
Swift
public func batchVerification(query: BatchVerificationQuery, handler: @escaping (Result<BatchVerificationResponse, Error>) -> Void)
Parameters
query
Request.
handler
Result.