APIv4
public struct APIv4
Luna ID API v4.
-
Group of the
handlers
methods.Declaration
Swift
public let handlers: Handlers
-
Group of the
persons
methods.Declaration
Swift
public let persons: Persons
-
Initializer API v4.
Declaration
Swift
public init(lunaAuthToken: String, lunaServerURL: URL?)
Parameters
lunaAuthToken
Luna ID authorization token.
lunaServerURL
Server URL.
-
Checks the list of images for Liveness.
The answer contains the probability that a real person is present in the image.
Declaration
Swift
func liveness(query: PredictLivenessQuery, handler: @escaping (Result<LivenessPredictResponse, Error>) -> Void)
Parameters
query
Request.
handler
Result.