HomeSoftware Heritage

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

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