Add get interface for token expiration
With this, library users can now query when the token will expire.
Additionally, fixes the constness of one of the function methods.
With this, library users can now query when the token will expire.
Additionally, fixes the constness of one of the function methods.