Comments (7)
Hi zhang-hang!
These CRUD were generated by the conquer/gii-modal.
I recommend you not to use these CRUD, and generate your own for the conquer\oauth2\models\Client model. So, you will be able to customize access and views for your needs.
from yii2-oauth2-server.
But if you still want to use these CRUD, include conquer/gii-modal in you composer.json.
from yii2-oauth2-server.
Thanks for your reply,
I just quickly install yii2-oauth2-server functionality. do not want to use CRUD.
Because, see the directory has oauth2 / views / client / _form.php, create.php, index.php, view.php, update.php files. I was lazy and would like to be able to use it directly.
Ha ~ :-)
from yii2-oauth2-server.
\vendor\conquer\oauth2\views\client\index.php
conquer\gii\GiiAsset::register($this);
What does this mean? Must be used in gii in it?
from yii2-oauth2-server.
These assets makes the Modal dialogs functionality. You should add "conquer/gii-modal": "*" in your composer.json, then run php composer.phar update.
When you click on view or edit button link in the GridView actions column, modal dialog will be opened.
from yii2-oauth2-server.
OK, I have installed "conquer / gii-module", but still can not access \vendor\conquer\oauth2\views\client\index.php , Only one empty page ... 🎱
from yii2-oauth2-server.
I see. There is not implemented layout...
So, just generate CRUD for the conquer\oauth2\models\Client in your application, it's a simple operation and your lazyness will not suffer. I will remove these controllers and views, to not confuse developers. There is no need to include such functionality in the extension, because views and user access depends of the business logic of the application.
from yii2-oauth2-server.
Related Issues (20)
- client secret not validating HOT 2
- client_credentials && password grant types HOT 1
- 'Invalid or missing response type HOT 1
- How the client uses it? HOT 1
- a problem with content type with a post request
- Recommended way to Add Client Details HOT 1
- Planing to add further grant types? HOT 2
- Wrong Scope filled in the response for token request grant_type : "authorization_code" HOT 1
- How to implement scope? HOT 7
- All exceptions are 500 HOT 1
- how to change accessTokenLifetime in actions or configures HOT 1
- 401 instead of 500 when access_token is invalid
- [BaseModel] caches request
- Authorization Basic should be ignored
- Google Sign In HOT 3
- External IDPs HOT 1
- Change access token life time HOT 3
- Successful login
- how to add new language in exception messages? HOT 1
- TokenAuth is unable to find access token HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-oauth2-server.