thunderbird_accounts.authentication.middleware

Classes

AccountsOIDCBackend(*args, **kwargs)

SetHostIPInAllowedHostsMiddleware(get_response)

class thunderbird_accounts.authentication.middleware.AccountsOIDCBackend(*args, **kwargs)[source]

Bases: OIDCAuthenticationBackend

create_user(claims)[source]

Return object for a newly created user account.

update_user(user, claims)[source]

Update existing user with new claims, if necessary save, and return user

filter_users_by_claims(claims)[source]

Return all users matching the specified oidc_id.