module documentation
(source)

Support for resolving command-line strings that represent different checkers available to cred.

Examples:

  • passwd:/etc/passwd
  • memory:admin:asdf:user:lkj
  • unix
Interface ICheckerFactory A factory for objects which provide twisted.cred.checkers.ICredentialsChecker.
Class StrcredException Base exception class for strcred.
Class InvalidAuthType Raised when a user provides an invalid identifier for the authentication plugin (known as the authType).
Class InvalidAuthArgumentString Raised by an authentication plugin when the argument string provided is formatted incorrectly.
Class UnsupportedInterfaces Raised when an application is given a checker to use that does not provide any of the application's supported credentials interfaces.
Variable notSupportedWarning Undocumented
Function findCheckerFactories Find all objects that implement ICheckerFactory.
Function findCheckerFactory Find the first checker factory that supports the given authType.
Function makeChecker Returns an twisted.cred.checkers.ICredentialsChecker based on the contents of a descriptive string. Similar to twisted.application.strports.
Class AuthOptionMixin Defines helper methods that can be added on to any usage.Options subclass that needs authentication.
notSupportedWarning = (source)

Undocumented

(type: str)
def findCheckerFactories(): (source)

Find all objects that implement ICheckerFactory.

def findCheckerFactory(authType): (source)

Find the first checker factory that supports the given authType.

def makeChecker(description): (source)

Returns an twisted.cred.checkers.ICredentialsChecker based on the contents of a descriptive string. Similar to twisted.application.strports.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.