Protocol
BasicAuthenticator
HTTP Basic Auth implementation of
RequestAuthenticator. Makes it easy to implement basic auth for your own Authenticatable types.protocol BasicAuthenticator : RequestAuthenticator
Topics
Instance Properties
var realm: StringRealm to advertise in theWWW-Authenticatechallenge.
Instance Methods
func authenticate(basic: BasicAuthorization, for: Request) async throwsAuthenticates the supplied basic authorization for this request.
Relationships
Inherits From
MiddlewareRequestAuthenticatorSwift.SendableSwift.SendableMetatype