blob: 7f7f3866e29d23fc98bc85897bbe905d233a90b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Preconfigured all-in-one servers
================================
A pre configured server is an all-in-one endpoint serving a specific class of
application clients. As the individual endpoints, they depend on the use of a
:doc:`validator`.
Construction is simple, only import your validator and you are good to go::
from your_validator import your_validator
from oauthlib.oauth1 import WebApplicationServer
server = WebApplicationServer(your_validator)
All endpoints are documented in :doc:`endpoints`.
.. autoclass:: oauthlib.oauth1.WebApplicationServer
:members:
|