first commit
This commit is contained in:
11
lib/auth/custom_auth/auth_util.dart
Normal file
11
lib/auth/custom_auth/auth_util.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
import 'custom_auth_manager.dart';
|
||||
|
||||
export 'custom_auth_manager.dart';
|
||||
|
||||
final _authManager = CustomAuthManager();
|
||||
CustomAuthManager get authManager => _authManager;
|
||||
|
||||
String get currentUserUid => currentUser?.uid ?? '';
|
||||
String? get currentAuthenticationToken => authManager.authenticationToken;
|
||||
String? get currentAuthRefreshToken => authManager.refreshToken;
|
||||
DateTime? get currentAuthTokenExpiration => authManager.tokenExpiration;
|
||||
Reference in New Issue
Block a user