s365b.setup =========== .. py:module:: s365b.setup .. autoapi-nested-parse:: Setup wizard: connect a tenant with one device code sign-in. See ``docs/planning/setup.md``. The pieces: * :mod:`~s365b.setup.devicecode` gets a short-lived delegated token for a tenant administrator (no client secret, no refresh token kept). * :mod:`~s365b.setup.certs` makes the key pairs; private keys never leave the server. * :mod:`~s365b.setup.provision` uses the delegated token once to create or update the app registrations and grant their permissions. * :mod:`~s365b.setup.connect` keeps the wizard's state in the database and stores the result. Submodules ---------- .. toctree:: :maxdepth: 1 /reference/api/s365b/setup/certs/index /reference/api/s365b/setup/connect/index /reference/api/s365b/setup/devicecode/index /reference/api/s365b/setup/provision/index