AuthService constructor

AuthService({
  1. bool allowAnonymous = false,
  2. Future<void> onBind(
    1. UserMeta user
    )?,
  3. Future<void> onUnbind()?,
  4. bool autoLink = true,
})

Implementation

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