Add token attribute to Session
This MR closes #9 (closed) by adding a .token
attribute to the Session
which will store a scitokens.SciToken
object if one is available.
One limitation is: if a serialised token is passed in, it can be directly used for the header, but no attempt will be made to de-serialise it in order to generate a SciToken
object to store. That can be added later if desired.