For the Developers

Almefy 2 Factor, passwordfree login is

easy and simple to integrate -

as an Add-On. No risk of big code changes.

Our Integrations so farRiskfree und easy integration.

PHP

Salesforce

Pyton @
Raspberry Pi Zero

Salesforce

Salesforce

How to add Almefy in your existing login flow.
Simple as an Plugin or via SDK. But see yourself...

Use a Plugin: WordPress

We currently offer a WordPress plugin for quick and easy integration. Simply download it from WordPress.org, enter our licence and you’re ready to go. 

And of course you can easily customise the plugin according to your needs.

Custom Integration (PHP Example via SDK)

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

BACKEND

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

				
					<?php
$client = new \Almefy\Client($_ENV['ALMEFY_KEY'], $_ENV['ALMEFY_SECRET']);

// create new account
try {
	$enrollmentToken = $client->enrollIdentity('john.doe');
} catch (\Almefy\Exception\TransportException $e) {
	echo 'Could not connect to Almefy service: '.$e->getMessage();
}

// Handle login request (loginController.php)
try {
	$client->enrollIdentity('john.doe', array(
));
	
} catch (\Almefy\Exception\TransportException $e) {
	'Could not connect to Almefy service: '.$e->getMessage();
}
				
			

Frontend - QR-Code on your website

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

				
					<!-- Place this HTML code wherever the Almefy image should appear -->
<div data-almefy-auth
     data-almefy-key="5bbf4923faf099a3515a40d9b0e6e6e32c890ef6cd7a8a120657c2f49d2341fe"
     data-almefy-auth-url="/path/to/auth-controller.php"></div>

<!-- Load the JavaScript library -->
<script src="https://cdn.almefy.com/js/almefy-0.8.1.js"
        integrity="sha384-ouDeQdWqj/ZXOHf8xdH+qmWP9h+0zE7VDRWw3X7uanj81OpYvAh4fjNnQ90gA2Ba"
        crossorigin="anonymous"></script>
				
			

Do your like to have more information or a tec-deep-dive? Ask us, we love to help.