AuthService constructor

AuthService({
  1. bool allowAnonymous = false,
  2. Future<void> onBind(
    1. UserMeta user
    )?,
  3. Future<void> onUnbind()?,
  4. bool autoLink = true,
  5. List<SocialSignInSiteConfig> signInConfigs = const [],
})

Implementation

AuthService(
    {this.allowAnonymous = false,
    this.onBind,
    this.onUnbind,
    this.autoLink = true,
    this.signInConfigs = const []}) {
  _authState = BehaviorSubject.seeded(this);
}