BasicCredentialsResolver

Locates BasicCredentials within an incoming request.

Returns decoded credentials, or null when absent so the request proceeds as anonymous. Malformed credentials (invalid Base64 or missing : separator) must throw IllegalArgumentException so BasicAuthenticator can surface io.github.mzlnk.javalin.security.authentication.AuthenticationResult.Failure.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun resolve(context: Context): BasicCredentials?

Returns the BasicCredentials extracted from context, or null when absent.