S
S
Sergey Shevchenko2016-05-27 21:55:08
symfony
Sergey Shevchenko, 2016-05-27 21:55:08

How to make Authorization via curl, command line, rest-console in Silex?

I am writing a project on Silex, I got this TK:

Set up authorization
There is a need to authorize the user through the login form and using some API key. The API key can be the same login:password pair as on the form.
Bottom line: authorization should work through the form and through the REST console or curl on the command line. The main thing is that the methods that are currently available to the evaluator authorized through the form are available to the third-party application that sent the evaluator's login and password.

Please tell me which way to dig.
The team leader told me that I need to dig in the direction of the Guard Symfony Component
, but I never figured it out, poor knowledge of English, and the translator translates crap

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question