Through the Duo app, you can generate an authentication passcode even if you are not connected to the internet.
NOTE: You can test this functionality by switching your mobile device into airplane mode.