def METHOD_NAME(self, raw_token: str) -> dict[str, Any]:
    """Parse token and secret from raw token response."""
    # Load as json first then parse as query string
    try:
        token_data = loads(raw_token)
    except ValueError:
        return dict(parse_qsl(raw_token))
    return token_data