summaryrefslogtreecommitdiff
path: root/docs/oauth1/preconfigured_servers.rst
blob: b32e1abcca211d9e562f732358cbda6665b2d29a (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:`Provider endpoints <endpoints/endpoints>`.

.. autoclass:: oauthlib.oauth1.WebApplicationServer
    :members: