L'objet auth et l'action user sont déjà définis dans l'application de référence.
The auth object and the user action are already defined in the scaffolding application.
Notez bien que vous aurez toujours besoin d'appeler auth.wiki() dans le contrôleur ou la vue afin d'exposer l'interface du wiki, puisque le paramètre resolve=False indique à l'objet auth de juste construire le modèle wiki sans aucune autre interface de configuration.
Note that you still have to call auth.wiki() in the controller or view in order to expose the wiki interface, since the resolve=False parameter instructs the auth object to just build the wiki model without any other interface setup.
L'objet auth est hautement personnalisable et peut être traité avec une vérification email, des approbations d'enregistrement, CAPTCHA, et des méthodes de connexion alternatives via des plugins.
The auth object is highly customizable and can deal with email verification, registration approvals, CAPTCHA, and alternate login methods via plugins.
La fonction de callback passera deux paramètres, le nom d'utilisareur qui a réussi son identification et une référence à l'objet Auth.
The callback function will be passed two parameters, the username that successfully logged out and a reference to the Auth object.
Lorsque défini en ce format, la seule façon de récupérer les données depuis l'objet Auth est d'appeler getAuthData('attributes').
When set to this format, the only way to retrieve data from the Auth object is by calling getAuthData('attributes').
Ils représentent, dans l'ordre, le nom du dernier utilisateur, le code statut qui a provoqué l'échec de la dernière identification et une référence à l'objet Auth.
These are in order the previously attempted username, the status code that caused the previous auth attempt to fail and a reference to the Auth object itself.