Projet

Général

Profil

Development #14475

don't name authentication frontend with "Backend" in the class name

Ajouté par Frédéric Péters il y a plus de 7 ans. Mis à jour il y a environ 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
02 janvier 2017
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

It's really confusing to understand the way authentication frontends/backends fit together when there is LoginPasswordBackend in src/authentic2/auth_frontends.py.


Fichiers

Révisions associées

Révision eac4437e (diff)
Ajouté par Serghei Mihai il y a environ 5 ans

misc: rename authentication "frontend" to "authenticator" (#14475)

Révision 95f57ef4 (diff)
Ajouté par Serghei Mihai il y a environ 5 ans

misc: rename authentication "frontend" to "authenticator" (#14475)

Révision edc3ffaa (diff)
Ajouté par Serghei Mihai il y a environ 5 ans

misc: rename authentication "frontend" to "authenticator" (#14475)

Révision ffc66bcb (diff)
Ajouté par Serghei Mihai il y a presque 5 ans

misc: rename authentication "frontend" to "authenticator" (#14475)

Historique

#1

Mis à jour par Frédéric Péters il y a plus de 5 ans

Illustration, dans #27447,

Donc il faudrait pouvoir filtrer en frontends d'authentification en fonction de certains critères (à définir) (authentic2/utils.py::get_backends) et les afficher sur la page de login.

À poser un regard frais sur Authentic, cette notion avec frontend backend ( méthode d'authentification), ça serait envisageable de lui faire adapter un nouveau nom, unique ?

(et cela sans approcher l'utilisation parallèle de backend pour signifier la partie stockage (backend model, backend ldap, src/authentic2/backends/))

#2

Mis à jour par Serghei Mihai il y a plus de 5 ans

Je serais pour un nom du genre "authenticator".

#3

Mis à jour par Benjamin Dauvergne il y a plus de 5 ans

*Auth, j'aime pas les suffixes trop longs.

#4

Mis à jour par Serghei Mihai il y a plus de 5 ans

"authenticator" me paraît plus parlant car c'est le nom du verbe "authenticate", mais pourquoi pas "auth".

#5

Mis à jour par Serghei Mihai il y a environ 5 ans

Et le patch qui était dans la branche wip/14475-rename-auth-frontends.

#6

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

Ack, à rebaser d'abord.

#7

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

  • Assigné à mis à Serghei Mihai
  • Priorité changé de Bas à Normal
#9

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

  • Statut changé de Solution proposée à Solution validée

Toujours ack.

#10

Mis à jour par Serghei Mihai il y a environ 5 ans

Je pousserai après la mise à jour de jeudi.

#11

Mis à jour par Serghei Mihai il y a environ 5 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit eac4437e5cbbc4142e7b0aa477fbdff3daf766af (origin/master, origin/HEAD)
Author: Serghei Mihai <smihai@entrouvert.com>
Date:   Wed Nov 21 15:34:51 2018 +0100

    misc: rename authentication "frontend" to "authenticator" (#14475)
#12

Mis à jour par Frédéric Péters il y a environ 5 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF