def parse_query_params(strategy, response, *args, **kwargs):
 auth_entry = strategy.session.get(AUTH_ENTRY_KEY)
 if (not (auth_entry and (auth_entry in _AUTH_ENTRY_CHOICES))):
  raise AuthEntryError(strategy.request.backend, 'auth_entry missing or invalid')
 return {'auth_entry': auth_entry}

def parse_query_params ( strategy , response , * args , ** kwargs ) : auth_entry = strategy . session . get ( AUTH_ENTRY_KEY ) if ( not ( auth_entry and ( auth_entry in _AUTH_ENTRY_CHOICES ) ) ) : raise AuthEntryError ( strategy . request . backend , 'auth_entry missing or invalid' ) return { 'auth_entry' : auth_entry }
reads whitelisted query params .