serinus_frontier 1.0.0
serinus_frontier: ^1.0.0 copied to clipboard
A module for Serinus applications that exposes the frontier package allowing you to use all the auth strategies.
Serinus Frontier #
Serinus Frontier is a plugin that allows you to use the Frontier library in your Serinus application.
Installation #
dart pub add serinus_frontier
copied to clipboard
Usage #
You can see the example usage in the example directory.
import 'package:serinus_frontier/serinus_frontier.dart';
class AppModule extends Module {
AppModule() : super(
imports: [FrontierModule([
MyStrategy(
MyStrategyOptions(),
(options, value, done) => done(value)
)
])],
);
}
copied to clipboard