Current Path : /usr/lib/python2.7/dist-packages/twisted/cred/ |
Current File : //usr/lib/python2.7/dist-packages/twisted/cred/strcred.pyc |
ó [³XMc @ sî d Z d d l Z d d l m Z m Z d d l m Z d d l m Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d Z d „ Z d „ Z d „ Z d d d „ ƒ YZ d S( s¨ Support for resolving command-line strings that represent different checkers available to cred. Examples: - passwd:/etc/passwd - memory:admin:asdf:user:lkj - unix iÿÿÿÿN( t Interfacet Attribute( t getPlugins( t usaget ICheckerFactoryc B sG e Z d Z e d ƒ Z e d ƒ Z e d ƒ Z e d ƒ Z d „ Z RS( sš A factory for objects which provide L{twisted.cred.checkers.ICredentialsChecker}. It's implemented by twistd plugins creating checkers. s0 A tag that identifies the authentication method.sm A detailed (potentially multi-line) description of precisely what functionality this CheckerFactory provides.s= A short (one-line) description of the argument string format.s@ A list of credentials interfaces that this factory will support.c C s d S( sf Return an L{ICredentialChecker} provider using the supplied argument string. N( ( t argstring( ( s8 /usr/lib/python2.7/dist-packages/twisted/cred/strcred.pyt generateChecker3 s ( t __name__t __module__t __doc__R t authTypet authHelpt argStringFormatt credentialInterfacesR ( ( ( s8 /usr/lib/python2.7/dist-packages/twisted/cred/strcred.pyR s t StrcredExceptionc B s e Z d Z RS( s+ Base exception class for strcred. ( R R R ( ( ( s8 /usr/lib/python2.7/dist-packages/twisted/cred/strcred.pyR ; s t InvalidAuthTypec B s e Z d Z RS( sv Raised when a user provides an invalid identifier for the authentication plugin (known as the authType). ( R R R ( ( ( s8 /usr/lib/python2.7/dist-packages/twisted/cred/strcred.pyR B s t InvalidAuthArgumentStringc B s e Z d Z RS( sl Raised by an authentication plugin when the argument string provided is formatted incorrectly. ( R R R ( ( ( s8 /usr/lib/python2.7/dist-packages/twisted/cred/strcred.pyR J s t UnsupportedInterfacesc B s e Z d Z RS( s“ Raised when an application is given a checker to use that does not provide any of the application's supported credentials interfaces. ( R R R ( ( ( s8 /usr/lib/python2.7/dist-packages/twisted/cred/strcred.pyR R s s<