-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ajout de logs plus fins pour les connexions directes
Ajouter une action dans le corps du log permettra de contruire un tableau de suivi plus facilement (les actions relatives à la connexion directe sont catégorisées).
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import enum | ||
|
||
|
||
class AuthLinkAction(enum.StrEnum): | ||
""" | ||
Actions loggées pour les liens d'identifications. | ||
""" | ||
|
||
SENT_AUTH_LINK = "sent_auth_link" | ||
DID_AUTHENTICATE_WITH_AUTH_LINK = "did_authenticate_with_auth_link" | ||
USED_EXPIRED_AUTH_LINK = "used_expired_auth_link" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters