Required Instance Methodvapor 4.114.1Vapor
authenticate(basic:for:)
Authentication+Concurrency.swift:33func authenticate(basic: BasicAuthorization, for request: Request) async throws
func authenticate(basic: BasicAuthorization, for request: Request) async throws
s5Vapor23AsyncBasicAuthenticatorP12authenticate5basic3foryAA0C13AuthorizationV_AA7RequestCtYaKF
What are these?2YU3K
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
protocol AsyncBasicAuthenticator : AsyncRequestAuthenticator
Helper for creating authentication middleware using the Basic authorization header.
struct BasicAuthorization
A basic username and password.
final class Request
Represents an HTTP request in an application.