class documentation

class IsAuthenticated(BasePermission): (source)

View In Hierarchy

Allows access only to authenticated users.

Method has_permission Return `True` if permission is granted, `False` otherwise.

Inherited from BasePermission:

Method has_object_permission Return `True` if permission is granted, `False` otherwise.
def has_permission(self, request, view): (source)

Return `True` if permission is granted, `False` otherwise.