tenebrousedge / copula Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cakephp-copula/copula
An abstract datasource for use in conjunction with specific api datasources
This project forked from cakephp-copula/copula
An abstract datasource for use in conjunction with specific api datasources
It should probably either return false or throw an exception.
See source here
Right now the behavior of the component is to automatically prevent redirection, it would be kinda difficult for someone to implement their own Authorize method, or to actually use the various pieces of the OauthComponent to alter the default implementation. We should probably have an 'autoRedirect' (boolean) setting to enable or disable this behavior.
If there is no configuration for the plugin in the Controller (= no storage), the function OauthComponent::_afterRequest doesn't return anything.
When doing a callback, nothing is trigger and the tokens are 'lost' somewhere.
It should return the tokens when there is no storage capabilities, to let devs handle the storage of the tokens, there is no other way to get tokens back.
Idea of validating Tokens in validation rules (ex: TokenStoreDb).
Creation of a function that set the callback in the datasource.
What do you think ?
Among other things, this is probably the only way to handle token expiration correctly (i.e. refresh the token and try again).
It should probably take the model and request as arguments, and return the request.
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.