PHP7 u2fs
C PHP M4
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
CREDITS
EXPERIMENTAL
README.md
config.m4
php_u2fs.h
u2fs.c

README.md

u2fs

This is light wrapper around Yubico libu2f-server library for server side interaction with yubikeys.

API

The API very closely resembles the C library API, with the awkward bits (for PHP) removed:

namespace u2fs;

function setOrigin(string origin);

function setAppId(string id);

function setChallenge(string challenge);

function setKeyHandle(string handle);

function setPublicKey(string key);

namespace u2fs\registration;

function challenge() : string;

function verify() : array;

namespace u2fs\authentication;

function challenge() : string;

function verify() : array;