more refactors

This commit is contained in:
shenlong-tanwen
2024-10-19 14:34:42 +05:30
parent e8bb9a3934
commit 3b8951fde6
46 changed files with 598 additions and 435 deletions
@@ -0,0 +1,10 @@
abstract interface class IAuthenticationApiRepository {
/// Returns the access token on successful login
Future<String?> login(String email, String password);
/// Returns the OAuth URL
Future<String?> startOAuth({required String redirectUri});
/// Returns the access token on successful oauth login
Future<String?> finishOAuth(String url);
}