Where did you see the
read_mifare sample app?
If you saw it on Particle Build as part of this library, why not just import that and give it a try?
Just click on the sample and then press USE THIS EXAMPLE.
Then if you want to use I2C, you'd alter these lines in the sample
#define SCK (A3)
#define MOSI (A5)
#define SS (A2)
#define MISO (A4)
#define SCK (2)
#define MOSI (3)
#define SS (4)
#define MISO (5)
Adafruit_PN532 nfc(SCK, MISO, MOSI, SS);
const int _irq = D3; // select your own pin for that
const int _reset = D4; // select your own pin for that
//Adafruit_PN532 nfc(SCK, MISO, MOSI, SS);
Adafruit_PN532 nfc(_irq, _reset);
And see what happens.
Since I haven't got access to that exact board, I'd have to guess, but it might be worth a try, especially since this lib was ported by @peekay123 who is a highly valued fellow Elite in this forum and will definetly assist, if you have further questions.