From 22d45f2ab47cd714290f7dd61d6747e175c9ed23 Mon Sep 17 00:00:00 2001 From: Nicolas CARPi Date: Thu, 25 Apr 2024 21:28:48 +0200 Subject: [PATCH] fix documentation link --- docs/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index c21fa1c..ae34f77 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -23,7 +23,7 @@ composer require robthree/twofactorauth `TwoFactorAuth` constructor requires an object able to provide a QR Code image. It is the only mandatory argument. This lets you select your preferred QR Code generator/library. -See [QR code providers documentation](docs/qr-codes.md) for more information about the different possibilites. +See [QR code providers documentation](qr-codes.md) for more information about the different possibilites. Example code: @@ -36,7 +36,7 @@ use RobThree\Auth\Providers\Qr\EndroidQrCodeProvider; // if using Endroid $tfa = new TwoFactorAuth(new BaconQrCodeProvider()); // using Endroid $tfa = new TwoFactorAuth(new EndroidQrCodeProvider()); -// using a custom object +// using a custom object implementing IQRCodeProvider interface $tfa = new TwoFactorAuth(new MyQrCodeProvider()); // using named argument and a variable $tfa = new TwoFactorAuth(qrcodeprovider: $qrGenerator);