Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Authenticator. Blocks all request with non-authenticated sessions.

src/d/j/django-icetea-0.5/icetea/handlers.py   django-icetea(Download)
from django.db import models
from authentication import DjangoAuthentication, NoAuthentication
from django.core.exceptions import ValidationError, ObjectDoesNotExist
from custom_filters import filter_to_method
from exceptions import UnprocessableEntity, ValidationErrorList
        # Indicates Authentication method.
        if cls.authentication is True:
            cls.authentication = DjangoAuthentication() 
        else:
            cls.authentication = NoAuthentication()      

src/p/i/piston-perfect-HEAD/piston_perfect/handlers.py   piston-perfect(Download)
from django.conf import settings
from pistoff import handler, resource
from .authentication import DjangoAuthentication
from .resource import Resource
from .utils import MethodNotAllowed
		# the resulting handler type unsuitable for further inheritance.
		if cls.authentication is True:
			cls.authentication = DjangoAuthentication()
 
		cls.resource = Resource(cls, authentication=cls.authentication)