carbond.security.Authenticator

An Authenticator is an abstract class representing a method of authentication. Authenticators implement an authenticate method which takes a request and returns a user object.

Properties

_none_

Methods

authenticate  
Arguments
  • req (HttpRequest) – the HttpRequest object to authenticate
Return object an object representing the authenticated user
isRootUser  
Arguments
  • user (object) – the user object to test for root equivalence
Return boolean true if the supplied user is a root user
getAuthenticationHeaders  
Return [string]
  • an array of authentication header names