HomeSoftware Heritage

django/models: Add new fields and oidc_profile property to OIDCUser

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

django/models: Add new fields and oidc_profile property to OIDCUser

Add fields "expires_in" and "refresh_expires_in" to OIDCUser model storing
the validity times for access and refresh tokens.

Add oidc_profile property to get the OpenID Connect profile associated to
the user as a dictionary.

Update and simplify tests for OIDCUser model.

Related to T3150

Commit No Longer Exists

This commit no longer exists in the repository.