Package repoze :: Package who :: Module interfaces :: Class IChallengeDecider
[hide private]

Class IChallengeDecider

source code


On egress: decide whether a challenge needs to be presented to the user.

Instance Methods [hide private]
 
__call__(environ, status, headers)
args -> True | False
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'__call__': <zope.interface.interfac...
  __bases__ = (<InterfaceClass repoze.who.interfaces.IPlugin>)
  __identifier__ = 'repoze.who.interfaces.IChallengeDecider'
  __iro__ = (<InterfaceClass repoze.who.interfaces.IChallengeDec...
  __name__ = 'IChallengeDecider'
  __sro__ = (<InterfaceClass repoze.who.interfaces.IChallengeDec...
  _implied = {<InterfaceClass repoze.who.interfaces.IChallengeDe...
  dependents = <WeakKeyDictionary at 27503288>

Inherited from zope.interface.Interface (private): _Element__tagged_values

Method Details [hide private]

__call__(environ, status, headers)
(Call operator)

source code 
args -> True | False

o 'environ' is the WSGI environment.

o 'status' is the HTTP status as returned by the downstream
  WSGI application.

o 'headers' are the headers returned by the downstream WSGI
  application.

This interface is responsible for returning True if
a challenge needs to be presented to the user, False otherwise.


Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'__call__': <zope.interface.interface.Method object at 0x1a3cc10>}

__iro__

Value:
(<InterfaceClass repoze.who.interfaces.IChallengeDecider>,
 <InterfaceClass repoze.who.interfaces.IPlugin>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass repoze.who.interfaces.IChallengeDecider>,
 <InterfaceClass repoze.who.interfaces.IPlugin>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass repoze.who.interfaces.IChallengeDecider>: (),
 <InterfaceClass repoze.who.interfaces.IPlugin>: (),
 <InterfaceClass zope.interface.Interface>: ()}