Skip to content

Mopster/KadekeDigipassBundle

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

KadekeDigipassBundle

Adds two-factor authentication to your application with MyDigipass.com

Installation

User

Have your user class implement the DigipassUser interface with the following methods:

    /**
     * @ORM\Column(type="string", nullable=true)
     */
    protected $digipass_uuid;

    /**
     * @param string $digipass_uuid
     */
    public function setDigipassUuid($digipass_uuid)
    {
        $this->digipass_uuid = $digipass_uuid;
    }

    /**
     * @return string
     */
    public function getDigipassUuid()
    {
        return $this->digipass_uuid;
    }

Templates

Script

Add the following line of code to the bottom of your page

{{ render_digipass_script() }}

Login

Add the following line of code to your login screen :

{{ render_digipass_login() }}

connect

Add the following code to the edit screen of the user

{{ render_digipass_connect(user) }}

TODO

Remove Kunstmaan Bundles dependency

About

Add two-factor authentication to your website (uses MyDigipass.com)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published