current location: Home > download site > Library download > Other libraries > Twitter OAuth PHP library
Twitter OAuth PHP library
Classify: Library download / Other libraries | Release time: 2017-12-12 | visits: 1178 |
Download: 63 |
Latest Downloads
Fantasy Aquarium
Girls Frontline
Wings of Stars
Little Flower Fairy Fairy Paradise
Restaurant Cute Story
Shanhe Travel Exploration
Love and Producer
The most powerful brain 3
Odd Dust: Damila
Young Journey to the West 2
24 HoursReading Leaderboard
- 1 Mastering JavaScript Proxy and Reflect API (Without the Headache)
- 2 Best Altcoins For Crypto Bull Run
- 3 How to Disable Button in Android Studio
- 4 96% of NFT Collections Are Dead: Evening Analysts
- 5 Mastering CRUD Operations with OpenSearch in Python: A Practical Guide
- 6 How an 8-Year Hold Worked For an Ethereum Whale
- 7 Bitcoin Price Prediction: BTC Retests 200-Day SMA Amid Market Downturn, What’s Next?
- 8 Altcoins See Considerable Growth This Week, But Can They Sustain the Momentum to Trigger an Altcoin Season?
- 9 XRP, ETH, TON, GRT Offer Limited Short-Term Growth. For Alpha Individuals Seeking Luxury and Success, the Meme Token DOGEN Is the Answer
- 10 MATIC, NEAR, SHIB Signal Bullish Momentum as Month-End Approaches
- 11 Why Rexas Finance (RXS) is Gaining Traction
- 12 This Rectangle Pattern Signals Two Bullish Scenarios for Solana: SOL Price Outlook
- 13 Rexas Finance (RXS): The ‘Cardano Killer’ Altcoin Season is Around the Corner
- 14 What Experts Think About Solana
- 15 Bitgert (BRISE) vs Solana (SOL) vs Ethereum (ETH) - Which Will Lead the 2024 Bull Run?
Latest Tutorials
-
- Go language practical GraphQL
- 1650 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 3069 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 1547 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 2390 2024-03-29
The OAUTH protocol provides a secure, open and simple standard for the authorization of user resources. At the same time, any third party can use the OAUTH authentication service, and any service provider can implement its own OAUTH authentication service, so OAUTH is open. The industry provides multiple implementations of OAUTH, such as PHP, JavaScript, Java, Ruby and other language development kits, which greatly saves programmers' time, so OAUTH is simple. Many Internet services such as Open API, and many large companies such as Google, Yahoo, Microsoft, etc. provide OAUTH authentication services. These are enough to show that the OAUTH standard has gradually become the standard for open resource authorization.
<?php namespace OAuth; use OAuth\Common\Service\ServiceInterface; use OAuth\Common\Consumer\CredentialsInterface; use OAuth\Common\Storage\TokenStorageInterface; use OAuth\Common\Http\Client\ClientInterface; use OAuth\Common\Http\Client\StreamClient; use OAuth\Common\Http\Uri\UriInterface; use OAuth\Common\Exception\Exception; use OAuth\OAuth1\Signature\Signature; class ServiceFactory { protected $httpClient; protected $serviceClassMap = array( 'OAuth1' => array(), 'OAuth2' => array() ); protected $serviceBuilders = array( 'OAuth2' => 'buildV2Service', 'OAuth1' => 'buildV1Service', ); public function setHttpClient(ClientInterface $httpClient) { $this->httpClient = $httpClient; return $this; }