Created
October 19, 2017 20:13
-
-
Save jkbryan/ae39a82bacb4776d5cba78216dea7fca to your computer and use it in GitHub Desktop.
U2F Login for Wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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