WHAT YOU'LL LEARN
  • Which event handlers can you implement?
  • How to import and use each exported item?

Overview
anchor

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
anchor

Event Handler Abstraction — imported from webiny/api/security/authentication

Interface AfterAuthenticationEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

BeforeAuthenticationEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/authentication

Interface BeforeAuthenticationEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts