Credentials

org.apache.pekko.http.scaladsl.server.directives.Credentials
See theCredentials companion object
sealed trait Credentials

Represents authentication credentials supplied with a request. Credentials can either be Credentials.Missing or can be Credentials.Provided in which case an identifier is supplied and a function to check the known secret against the provided one in a secure fashion.

Attributes

Companion
object
Source
SecurityDirectives.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Missing
class Provided
In this article