mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-06 11:15:48 -06:00
14 lines
498 B
Dart
14 lines
498 B
Dart
part of 'authentication_cubit.dart';
|
|
|
|
@freezed
|
|
class AuthenticationState with _$AuthenticationState {
|
|
const factory AuthenticationState.unauthenticated() = _Unauthenticated;
|
|
const factory AuthenticationState.requriresLocalAuthentication() =
|
|
_RequiresLocalAuthentication;
|
|
const factory AuthenticationState.authenticated({
|
|
required String localUserId,
|
|
required int apiVersion,
|
|
}) = _Authenticated;
|
|
const factory AuthenticationState.switchingAccounts() = _SwitchingAccounts;
|
|
}
|