API Reference¶
This page documents the inner API of the statelessauth project. The project is separated into the following modules (all relative to statelessauth).
Wire -
.wire: responsible for encoding and decoding objects from and to JSON.Engine -
.engine: contains the different engines for the encoding and decoding as well as views.Middlewares -
.middlewares: contains the authentication middleware.Config -
.config: contains the configuration utils.
It also contains the following implementations
User Auth -
.contrib.auth: Implementation of the default django authentication system
We will be using the following guidelines regarding the documentation :
Whenever a generic class is used, we will write
class A[T]instead ofclass A(Generic[T]), whereTis aTypeVaras defined by Python’stypingmodule.Whenever a generic class is used with a type containing a bound on it, we will write
class A[T extends B], whereBmust be an ancestor ofT. It is defined asclass A(Generic[T]), whereTis aTypeVarwithbound=Bas defined by Python’stypingmodule.