PHPackages                             winwin/omniauth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. winwin/omniauth

ActiveProject

winwin/omniauth
===============

0.3.0(4y ago)01.1k↓25%MITPHPPHP &gt;=7.2

Since Apr 1Pushed 4y ago2 watchersCompare

[ Source](https://github.com/winwin-inc/omniauth)[ Packagist](https://packagist.org/packages/winwin/omniauth)[ RSS](/packages/winwin-omniauth/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (15)Versions (13)Used By (0)

Omniauth - multi-provider authentication middleware
===================================================

[](#omniauth---multi-provider-authentication-middleware)

Omniauth is a middleware for multi-provider authentication inspired by [Opauth](http://opauth.org).

How to use it?
--------------

[](#how-to-use-it)

Check out and see [examples](examples/index.php) to find how it work.

Configuration
-------------

[](#configuration)

The constructor of the `Omniauth` class has serval options to control its behavior.

### strategies

[](#strategies)

An array of configuration for authentication providers. The key is the provider name and also will be used for route match, and the value will be the contructor parameters for the strategy.

The common configuration key for the strategy is `strategy_class`，which also can set by call:

```
