org.http4s.server.middleware.authentication.BasicAuth
Provides Basic Authentication from RFC 2617.
Attributes
Source
BasicAuth.scala
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Matchable
class Any
Self type
Members list
Validates a plaintext password (presumably by comparing it to a hashed value).
Validates a plaintext password (presumably by comparing it to a hashed value). A Some value indicates success; None indicates the password failed to validate.
Attributes
Source
BasicAuth.scala
Construct authentication middleware that can validate the client-provided plaintext password against something else (like a stored, hashed password).
Construct authentication middleware that can validate the client-provided plaintext password against something else (like a stored, hashed password).
Value parameters
realm
The realm used for authentication purposes.
validate
Function that validates a plaintext password
Attributes
Returns
Source
BasicAuth.scala