Restructure Security classes #1026

Merged
nupplaphil merged 2 commits from task/security_restructure into develop 2020-10-01 19:50:00 +02:00
2 changed files with 12 additions and 0 deletions
Showing only changes of commit 3015660025 - Show all commits

Move library\OAuth1.php to class structure Friendica\Security\OAuth1

Philipp Holzer 2020-09-30 11:21:58 +02:00
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD

View file

@ -8,6 +8,12 @@
* Version 0.2.0 kept for compatibility purpose with StatusNetOAuth
*/
use Friendica\Security\OAuth1\OAuthConsumer;
use Friendica\Security\OAuth1\OAuthRequest;
use Friendica\Security\OAuth1\OAuthSignatureMethod_HMAC_SHA1;
use Friendica\Security\OAuth1\OAuthToken;
use Friendica\Security\OAuth1\OAuthUtil;
/**
* Twitter OAuth class
*/

View file

@ -6,6 +6,12 @@
* The first PHP Library to support OAuth for Tumblr's REST API. (Originally for Twitter, modified for Tumblr by Lucas)
*/
use Friendica\Security\OAuth1\OAuthConsumer;
use Friendica\Security\OAuth1\OAuthRequest;
use Friendica\Security\OAuth1\OAuthSignatureMethod_HMAC_SHA1;
use Friendica\Security\OAuth1\OAuthToken;
use Friendica\Security\OAuth1\OAuthUtil;
/**
* Tumblr OAuth class
*/