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
Basic
Auth
Security
class
BasicAuthSecurity
:
Security
(
source
)
Members
Members & Extensions
Constructors
Basic
Auth
Security
Link copied to clipboard
constructor
(
realm
:
String
,
credentials
:
Credentials
,
name
:
String
=
"basicAuth"
)
Checks the presence of basic auth credentials. Filter returns 401 if auth fails.
constructor
(
realm
:
String
,
credentials
:
(
Credentials
)
->
Boolean
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
filter
Link copied to clipboard
open
override
val
filter
:
Filter
name
Link copied to clipboard
val
name
:
String
Functions
and
Link copied to clipboard
fun
Security
.
and
(
that
:
Security
)
:
Security
or
Link copied to clipboard
fun
Security
.
or
(
that
:
Security
)
:
Security