parameters: (url)
return_statement: return (token, verifier)
docstring: Exracts an OAuth access token from the redirected page's URL.
  
    Returns:
      A tuple of strings containing the OAuth token and the OAuth verifier which
      need to sent when upgrading a request token to an access token.
docstring_summary: Exracts an OAuth access token from the redirected page's URL.
docstring_tokens: Exracts an OAuth access token from the redirected page s URL .
function: def oauth_token_info_from_url(url):
    """Exracts an OAuth access token from the redirected page's URL.
  
    Returns:
      A tuple of strings containing the OAuth token and the OAuth verifier which
      need to sent when upgrading a request token to an access token.
    """
    if isinstance(url, (str, unicode)):
      url = atom.http_core.Uri.parse_uri(url)
    token = None
    verifier = None
    if 'oauth_token' in url.query:
      token = urllib.unquote(url.query['oauth_token'])
    if 'oauth_verifier' in url.query:
      verifier = urllib.unquote(url.query['oauth_verifier'])
    return (token, verifier)
function_tokens: def oauth_token_info_from_url ( url ) : if isinstance ( url , ( str , unicode ) ) : url = atom . http_core . Uri . parse_uri ( url ) token = None verifier = None if 'oauth_token' in url . query : token = urllib . unquote ( url . query [ 'oauth_token' ] ) if 'oauth_verifier' in url . query : verifier = urllib . unquote ( url . query [ 'oauth_verifier' ] ) return ( token , verifier )