PHP code example of kowada-gmbh / auth-bundle

1. Go to this page and download the library: Download kowada-gmbh/auth-bundle library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kowada-gmbh / auth-bundle example snippets


   class User implements UserInterface, AccountStatusInterface, LoginTrackingInterface {
       public function isEmailVerified(): bool { /* ... */ }
       public function isApproved(): bool { /* ... */ }

       public function getFirstname(): string { /* ... */ }
       public function getDateTimeLoggedInInitial(): ?DateTimeInterface { /* ... */ }
       public function setDateTimeLoggedInInitial(DateTimeImmutable $dateTime) { /* ... */ }
       public function setDateTimeLoggedInLatest(DateTimeImmutable $dateTime) { /* ... */ }
   }