def OAuthTokenFromHttpBody(http_body):
 token = oauth.OAuthToken.from_string(http_body)
 oauth_token = OAuthToken(key=token.key, secret=token.secret)
 return oauth_token

def OAuthTokenFromHttpBody ( http_body ) : token = oauth . OAuthToken . from_string ( http_body ) oauth_token = OAuthToken ( key = token . key , secret = token . secret ) return oauth_token
parses the http response body and returns an oauth token .