class AuthMeApi {

    public Instant getLastLoginTime(String playerName) {
        Long lastLogin = getLastLoginMillis(playerName);
        return lastLogin == null ? null : Instant.ofEpochMilli(lastLogin);
    }

    @Inject  AuthMeApi(AuthMe plugin, DataSource dataSource, PlayerCache playerCache, PasswordSecurity passwordSecurity,
              Management management, ValidationService validationService, GeoIpService geoIpService);

}