class ExampleViewController: UIViewController {
let identificationParams = IdentificationParams(
clientId: "<YOUR CLIENT ID>",
clientSecret: "<YOUR CLIENT SECRET>",
flowId: "<flow ID>" // optional
let viewController = AuthenteqFlow.instance.identificationViewController(
with: identificationParams,
viewController.modalPresentationStyle = .fullScreen
present(viewController, animated: true)
extension ExampleViewController: AuthenteqIdentificationDelegate {
func authenteqDidFinishIdentification(with result: IdentificationResult) {
presentedViewController?.dismiss(animated: true)
func authenteqDidFailIdentification(with error: AuthenteqFlowError) {
presentedViewController?.dismiss(animated: true)