...
Info |
---|
The above workflows are slightly simplified as the web-based user interfaces (UIs) and the REST interfaces, both services in terms of Flarecast, are separated. Hereby, the UIs represent clients, in terms of oAuth2, which use access tokens to access the protected REST ressources, e.g. from the property service. Note as Swagger as such represents a oAuth2-secured REST interface while Swagger UI is only a graphical interface, not holding any resources itself. |
Technical Details
By the above section we described the workflows of a session login and oAuth2 authentification. The concrete implementation is given by two Flask-addons which are build on the top of our web servers used within the Flarecast infrastructure.
flask-login |
...
flask-oauthlib |
,
which file contains what? parametrization