def _dehydrate_token(token):
    """
    Convert the request token into a dict suitable for storing in the session.
    """
    session_token = {}
    session_token["key"] = token.key
    session_token["secret"] = token.secret
    return session_token