initArcaneAuth function
void
initArcaneAuth({})
Implementation
void initArcaneAuth({
bool allowAnonymous = false,
Future<void> Function(UserMeta user)? onBind,
Future<void> Function()? onUnbind,
bool autoLink = true,
List<SocialSignInSiteConfig> signInConfigs = const [],
}) {
services().register<AuthService>(
() => AuthService(
signInConfigs: signInConfigs,
onBind: onBind,
onUnbind: onUnbind,
allowAnonymous: allowAnonymous,
autoLink: autoLink,
),
lazy: false);
}