Adding an `offline` attribute to trigger offline access support.

Part of #24 to add offline support. This initial change add the `offline` boolean attribute that triggers of the offline access request.
Can we use `.` notation everywhere:

`authResult['code']` -> `authResult.code`