parameters: (state, user)
return_statement: return uri
docstring: Parse the value of the 'state' parameter.
  
    Parses the value and validates the XSRF token in the state parameter.
  
    Args:
      state: string, The value of the state parameter.
      user: google.appengine.api.users.User, The current user.
  
    Raises:
      InvalidXsrfTokenError: if the XSRF token is invalid.
  
    Returns:
      The redirect URI.
docstring_summary: Parse the value of the 'state' parameter.
docstring_tokens: Parse the value of the state parameter .
function: def _parse_state_value(state, user):
    """Parse the value of the 'state' parameter.
  
    Parses the value and validates the XSRF token in the state parameter.
  
    Args:
      state: string, The value of the state parameter.
      user: google.appengine.api.users.User, The current user.
  
    Raises:
      InvalidXsrfTokenError: if the XSRF token is invalid.
  
    Returns:
      The redirect URI.
    """
    uri, token = state.rsplit(':', 1)
    if not xsrfutil.validate_token(xsrf_secret_key(), token, user.user_id(),
                                   action_id=uri):
      raise InvalidXsrfTokenError()
  
    return uri
function_tokens: def _parse_state_value ( state , user ) : uri , token = state . rsplit ( ':' , 1 ) if not xsrfutil . validate_token ( xsrf_secret_key ( ) , token , user . user_id ( ) , action_id = uri ) : raise InvalidXsrfTokenError ( ) return uri