Add manual auth screen
This commit is contained in:
4
moneymgr_mobile/lib/services/api/account_api.dart
Normal file
4
moneymgr_mobile/lib/services/api/account_api.dart
Normal file
@ -0,0 +1,4 @@
|
||||
/// Account API
|
||||
class AccountAPI {
|
||||
|
||||
}
|
7
moneymgr_mobile/lib/services/api/api_client.dart
Normal file
7
moneymgr_mobile/lib/services/api/api_client.dart
Normal file
@ -0,0 +1,7 @@
|
||||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
|
||||
/// Client API
|
||||
@riverpod
|
||||
class ClientAPI {
|
||||
|
||||
}
|
16
moneymgr_mobile/lib/services/api/api_token.dart
Normal file
16
moneymgr_mobile/lib/services/api/api_token.dart
Normal file
@ -0,0 +1,16 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'api_token.freezed.dart';
|
||||
part 'api_token.g.dart';
|
||||
|
||||
@freezed
|
||||
abstract class ApiToken with _$ApiToken {
|
||||
const factory ApiToken({
|
||||
required String apiUrl,
|
||||
required int tokenId,
|
||||
required String tokenValue
|
||||
}) = _ApiToken;
|
||||
|
||||
factory ApiToken.fromJson(Map<String, dynamic> json) =>
|
||||
_$ApiTokenFromJson(json);
|
||||
}
|
Reference in New Issue
Block a user