APIv4
public struct APIv4
Luna ID API v4.
-
Group of the
handlersmethods.Declaration
Swift
public let handlers: Handlers -
Group of the
personsmethods.Declaration
Swift
public let persons: Persons -
Initializer API v4.
Declaration
Swift
public init(lunaAuthToken: String, lunaServerURL: URL?)Parameters
lunaAuthTokenLuna ID authorization token.
lunaServerURLServer 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
queryRequest.
handlerResult.
APIv4 Structure Reference