authTime property

DateTime? get authTime

Implementation

DateTime? get authTime {
  final idToken = _idToken;
  if (idToken == null) {
    return null;
  }
  final payload = decodeIDToken(idToken);
  final authTimeValue = payload["auth_time"];
  if (authTimeValue is num) {
    return DateTime.fromMillisecondsSinceEpoch(authTimeValue.toInt() * 1000,
        isUtc: true);
  }
  return null;
}