Instance Propertyvapor 4.114.1Vapor
sync
Request+Password.swift:18var sync: PasswordHasher { get }
var sync: PasswordHasher { get }
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.
struct Password
final class Request
Represents an HTTP request in an application.
protocol PasswordHasher : Sendable
var async: AsyncPasswordHasher { get }
func hash<Password>(_ password: Password) throws -> [UInt8] where Password : DataProtocol
func verify<Password, Digest>(_ password: Password, created digest: Digest) throws -> Bool where Password : DataProtocol, Digest : DataProtocol