initializeAuth static method
Implementation
static Future<Config> initializeAuth() async {
currentUser();
HeraRequest req = HeraRequest()
..namespace = _namespace
..redirectAddress = _redirectUrl;
try {
_currentConfig ??= (await _heraClient.initializeAuth(req)).config;
return _currentConfig!;
} catch (e) {
if (_debug) print(e);
rethrow;
}
}