mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 10:08:00 -06:00
12 lines
414 B
Dart
12 lines
414 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;
|
|
}
|