http4k / org.http4k.contract.security / BasicAuthSecurity
class BasicAuthSecurity :
Security
Checks the presence of basic auth credentials. Filter returns 401 if auth fails.
Name | Summary |
---|---|
<init> | Checks the presence of basic auth credentials. Filter returns 401 if auth fails.BasicAuthSecurity(realm: String , credentials: Credentials , name: String = "basicAuth") |
Name | Summary |
---|---|
filter | val filter: Filter |
name | val name: String |
Name | Summary |
---|---|
and | fun Security .and(that: Security ): Security |
or | fun Security .or(that: Security ): Security |
Name | Summary |
---|---|
renderer | val BasicAuthSecurity.Companion.renderer: SecurityRenderer |
renderer | val BasicAuthSecurity.Companion.renderer: SecurityRenderer |