Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
U2F Login for Wordpress
public function __construct($appId, $attestDir = null) {
if(OPENSSL_VERSION_NUMBER < 0x10000000) {
throw new Error('OpenSSL has to be atleast version 1.0.0, this is ' . OPENSSL_VERSION_TEXT, ERR_OLD_OPENSSL);
$this->appId = $appId;
$this->attestDir = $attestDir;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment