Required Instance Methodvapor 4.106.2Vapor
authenticate(credentials:for:)
Authenticator.swift:64func authenticate(credentials: Credentials, for request: Request) -> EventLoopFuture<Void>
func authenticate(credentials: Credentials, for request: Request) -> EventLoopFuture<Void>
s5Vapor24CredentialsAuthenticatorP12authenticate11credentials3for7NIOCore15EventLoopFutureCyytG0B0Qz_AA7RequestCtF
What are these?
FNV24: [7DI3L]
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 CredentialsAuthenticator : RequestAuthenticator
Helper for creating authentication middleware using request body contents.
associatedtype Credentials : Content
final class Request
Represents an HTTP request in an application.
final class EventLoopFuture<Value>
Holder for a result that will be provided later.
typealias Void = ()
The return type of functions that don’t explicitly specify a return type, that is, an empty tuple ()
.