http4k-security-core
Toggle table of contents
6.20.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k-security-core
http4k-security-core
/
org.http4k.security
/
BasicAuthSecurity
/
BasicAuthSecurity
Basic
Auth
Security
constructor
(
realm
:
String
,
credentials
:
Credentials
,
name
:
String
=
"basicAuth"
)
(
source
)
Checks the presence of basic auth credentials. Filter returns 401 if auth fails.
constructor
(
realm
:
String
,
credentials
:
(
Credentials
)
->
Boolean
)
(
source
)