PHPackages                             bgallagher/bgoauthprovider - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. bgallagher/bgoauthprovider

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

bgallagher/bgoauthprovider
==========================

ZF2 OAuth 1.0a Provider module

0.1.6(12y ago)102034MITPHPPHP &gt;=5.3.3

Since Mar 28Pushed 12y ago3 watchersCompare

[ Source](https://github.com/bgallagher/BgOauthProvider)[ Packagist](https://packagist.org/packages/bgallagher/bgoauthprovider)[ Docs](https://github.com/bgallagher/BgOauthProvider)[ RSS](/packages/bgallagher-bgoauthprovider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

BgOauthProvider
===============

[](#bgoauthprovider)

A ZF2 OAuth 1.0a provider module (WIP)

This module allows your ZF2 app to act as an OAuth 1.0a Provider, allowing you to protect you api endpoints with OAuth.

It is still a WIP, any input or pull request are very much welcomed.

Requirements
------------

[](#requirements)

### ZF2 modules:

[](#zf2-modules)

- [ZfcUser](https://github.com/ZF-Commons/ZfcUser) (latest master)
- [ZfcUserDoctrineORM](https://github.com/ZF-Commons/ZfcUserDoctrineORM) (latest master)

### Pecl Extensions

[](#pecl-extensions)

- [Pecl OAuth](http://pecl.php.net/package/oauth)

\##Installation

1. Add the module to your composer.json requirments.

    ```
    "require": {
        "bgallagher/bgoauthprovider": "dev-master"
    }
    ```
2. composer.phar update
3. Add "BgOauthProvider" to your application.config.php file.

Config Example
--------------

[](#config-example)

```
