morepath.authentication – Authentication

This module defines the authentication system of Morepath.

Authentication is done by establishing an identity for a request using an identity policy registered by the morepath.App.identity_policy() directive.

morepath.NO_IDENTITY, morepath.Identity, morepath.IdentityPolicy are part of the public API.

See also morepath.directive.IdentityPolicyRegistry

class morepath.authentication.NoIdentity

The user is not yet logged in.

The request is anonymous.