Adapter

class allauth.usersessions.adapter.DefaultUserSessionsAdapter(request=None)

The adapter class allows you to override various functionality of the allauth.usersessions app. To do so, point settings.USERSESSIONS_ADAPTER to your own class that derives from DefaultUserSessionsAdapter and override the behavior by altering the implementation of the methods according to your own needs.