Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
gilour
/
laravel
/
fortify
/
src
/
Contracts
:
TwoFactorAuthenticationProvider.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Laravel\Fortify\Contracts; interface TwoFactorAuthenticationProvider { /** * Generate a new secret key. * * @return string */ public function generateSecretKey(); /** * Get the two factor authentication QR code URL. * * @param string $companyName * @param string $companyEmail * @param string $secret * @return string */ public function qrCodeUrl($companyName, $companyEmail, $secret); /** * Verify the given token. * * @param string $secret * @param string $code * @return bool */ public function verify($secret, $code); }