Any special endpoints or pages that the provider has to mount, if there are any.
Any special endpoints or pages that the provider has to mount, if there are any.
Check the authorization for a request, failing with a Response (if not authorized) or succeeding with an Identity (if authorized) or None to indicate authorized anonymous access
Check the authorization for a request, failing with a Response (if not authorized) or succeeding with an Identity (if authorized) or None to indicate authorized anonymous access
Check whether the given identity (or None for anonymous) has the given permission.
Check whether the given identity (or None for anonymous) has the given permission. If not, the returned task should fail with PermissionDenied.