mirror of
https://github.com/immich-app/immich.git
synced 2026-02-12 11:58:15 +03:00
11 lines
356 B
Dart
11 lines
356 B
Dart
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);
|
|
}
|