serinus_frontier library
Classes
- Frontier
- The main class of the library. It is used to define and use strategies.
- FrontierHook
- The FrontierHook class is used to authenticate requests using strategies.
- FrontierModule
- The FrontierModule class is used to register strategies in the application.
- GuardMeta
- The GuardMeta class is used to define the strategy to be used.
-
Strategy<
T extends StrategyOptions> - Base class to extend for creating a new strategy
- StrategyOptions
- Base class to extend for creating options for a strategy
- StrategyRequest
- The StrategyRequest class represents a request that is passed to a strategy
Typedefs
-
StrategyCallback<
T, I> = Future< void> Function(T strategyOptions, I? data, void done(Object? result)) - Type definition for a strategy callback