mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:50:12 +00:00
port hubzillas OpenWebAuth - rename some methods and classes
This commit is contained in:
parent
b65e4b278b
commit
f0235c4a98
6 changed files with 9 additions and 12 deletions
|
@ -6,7 +6,7 @@ namespace Friendica\Module;
|
|||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Util\HTTPSig;
|
||||
use Friendica\Util\HTTPSignature;
|
||||
use Friendica\Util\Network;
|
||||
|
||||
use dba;
|
||||
|
@ -76,7 +76,7 @@ class Magic extends BaseModule
|
|||
$headers['X-Open-Web-Auth'] = random_string();
|
||||
|
||||
// Create a header that is signed with the local users private key.
|
||||
$headers = HTTPSig::createSig(
|
||||
$headers = HTTPSignature::createSig(
|
||||
'',
|
||||
$headers,
|
||||
$user['prvkey'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue