FrontendEvents

class gafaelfawr.events.FrontendEvents

Bases: EventMaker

Event publishers for Gafaelfawr frontend events.

auth

Event publisher for each user authentication to a service. Authentications from mobu bot users are not logged as events.

login_attempt

Event publisher for when an unauthenticated user is redirected to the authentication provider.

login_enrollment

Event publisher for when an authenticated but unknown user is redirected to the enrollment flow.

login_failure

Event publisher for authentications that fail in Gafaelfawr.

login_success

Event publisher for login successes.

Methods Summary

initialize(manager)

Create event publishers and assign to instance attributes.

Methods Documentation

async initialize(manager)

Create event publishers and assign to instance attributes.

Use manager.create_publisher to assign event publishers to instance attributes.

Parameters:

manager (EventManager) – An EventManager to create event publishers

Return type:

None