jasonlewis / oauth2-server-redis Goto Github PK
View Code? Open in Web Editor NEWRedis storage adapter for the League's PHP OAuth 2.0 server.
Redis storage adapter for the League's PHP OAuth 2.0 server.
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
@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.
Is it published on packagist? It seems it's not. Any plan to do this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.