The wrapper, out of the box, stores the access token in the session, so one way I've gotten it in the past is to var_dump the session after authentication. Storage in the session can cause some retention issues if the session isn't maintained for some reason, so we definitely encourage secure local storage of hard-coding the access token, once you get it.
Our tokens have exceedingly large periods before expiry, so once you obtain and hard-code it, it will work indefinitely.
Let us know if you have any more questions.
... View more