protocol AuthRequestContext<Identity>
Protocol that all request contexts should conform to if they want to support authentication middleware
protocol RequestContext
Protocol that all request contexts should conform to. A RequestContext is a statically typed metadata container for information that is associated with a Request
, and is therefore instantiated alongside the request.
protocol RequestContextSource
Protocol for source of request contexts
protocol SessionRequestContext<Session>
Protocol for RequestContext that stores session data