Reference > API > Security > Authentication
Authentication
Authentication event handlers
WHAT YOU'LL LEARN
- Which event handlers can you implement?
- How to import and use each exported item?
Overview
This page documents everything exported from webiny/api/security/authentication. Import any of the items below directly from this path in your Webiny extensions.
AfterAuthenticationEventHandler
Event Handler Abstraction — imported from webiny/api/security/authentication
Interface AfterAuthenticationEventHandler.Interface:
Types:
Usage:
extensions/MyHandler.ts
BeforeAuthenticationEventHandler
Event Handler Abstraction — imported from webiny/api/security/authentication
Interface BeforeAuthenticationEventHandler.Interface:
Types:
Usage:
extensions/MyHandler.ts