getUserInfo method
override
Retrieves stored user information from the secure storage.
Implementation
@override
Future<User?> getUserInfo() async {
final userInfoString = _authenticatorProvider.getUserInfo();
if (userInfoString == null) {
return null;
}
final Map<String, dynamic> jsonMap = jsonDecode(userInfoString);
final claims = OpenIdClaims.fromJson(jsonMap);
return User.fromUserInfo(claims);
}