class AuthMeApi {

    public String getLastIp(String playerName) {
        PlayerAuth auth = playerCache.getAuth(playerName);
        if (auth == null) {
            auth = dataSource.getAuth(playerName);
        }
        if (auth != null) {
            return auth.getLastIp();
        }
        return null;
    }

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

}