mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-21 22:58:45 +00:00
22 lines
557 B
Dart
22 lines
557 B
Dart
|
import 'package:flutter/foundation.dart';
|
||
|
import 'package:mobx/mobx.dart';
|
||
|
import 'package:cake_wallet/core/setup_pin_code_state.dart';
|
||
|
|
||
|
part 'auth_service.g.dart';
|
||
|
|
||
|
class AuthService = AuthServiceBase with _$AuthService;
|
||
|
|
||
|
abstract class AuthServiceBase with Store {
|
||
|
@observable
|
||
|
SetupPinCodeState setupPinCodeState;
|
||
|
|
||
|
Future<void> setupPinCode({@required String pin}) async {}
|
||
|
|
||
|
Future<bool> authenticate({@required String pin}) async {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
void resetSetupPinCodeState() =>
|
||
|
setupPinCodeState = InitialSetupPinCodeState();
|
||
|
}
|