swh.web.auth.models module#

class swh.web.auth.models.OIDCUserOfflineTokens(*args, **kwargs)[source]#

Bases: Model

Model storing encrypted bearer tokens generated by users.

user_id#

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

creation_date#

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

offline_token#

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

exception DoesNotExist#

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned#

Bases: MultipleObjectsReturned

get_next_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=True, **kwargs)#
get_previous_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=False, **kwargs)#
id#

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>#