mirrored_repositories/DTubeGo/lib/bloc
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';

abstract class AuthEvent extends Equatable {}

class AppStartedEvent extends AuthEvent {
  AppStartedEvent();
  @override
  List<Object> get props => List.empty();
}

class SignOutEvent extends AuthEvent {
  final BuildContext context;
  SignOutEvent({required this.context});
  @override
  List<Object> get props => List.empty();
}

class SignInWithCredentialsEvent extends AuthEvent {
  SignInWithCredentialsEvent(
      {required this.username, required this.privateKey});
  final String username;
  final String privateKey;

  @override
  List<Object> get props => List.empty();
}

class StartBrowseOnlyMode extends AuthEvent {
  StartBrowseOnlyMode();

  @override
  List<Object> get props => List.empty();
}

class CheckCredentialsEvent extends AuthEvent {
  CheckCredentialsEvent({required this.username, required this.privateKey});
  final String username;
  final String privateKey;

  @override
  List<Object> get props => List.empty();
}

class AuthSetInitState extends AuthEvent {
  AuthSetInitState();

  @override
  List<Object> get props => List.empty();
}
