Giter VIP home page Giter VIP logo

oauth2-server-redis's Issues

Updated Development

@jasonlewis I am looking to update and take over some of the work created from this project.

The one sticking point that I'm looking at is the current BSD2 license.
My company and I prefer to release our OSS under the MIT license and switching from BSD to MIT on derivative works requires consent of the original license holder.

There are a lot of patterns that I would like to adopt from the project, but want to keep things in the clear for licensing.

[Proposal] Global prefix

Hello,
I think it will be nice to have an option to set global prefix of all Storage Implementation.
In case you use one Redis instance/db you will have collision between settings, clients, tokens etc.
Simplest implementation could be a second constructor parameter at RedisAdapter

//RedisAdapter
 public function __construct(Client $redis, $globalPrefix = '') 

// Use
$server->setClientStorage(new Lewis\OAuth2\Server\Storage\RedisClient($redis, 'application1'));

I could try to implement it if it will be accepted as pull request

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.