Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Protocol

RequestAuthenticator

Helper for creating authentication middleware.
protocol RequestAuthenticator : Middleware

Overview

RequestAuthenticators use the incoming request to check for authentication information. The authenticator can check credentials (such as in a header) and add the authenticated instance to the request’s authentication cache.

See BasicAuthenticator, BearerAuthenticator, CredentialsAuthenticator and SessionAuthenticator built-in implementations

Topics

Instance Methods

Relationships

Inherits From

  • Middleware
  • Swift.Sendable
  • Swift.SendableMetatype

Inherited By