TypedFormAuthConfig
Configures a typed Form authentication scheme.
Unlike FormAuthenticationProvider.Config, validate returns P so routes protected by authenticateWith can read principal as the configured type.
This config does not expose provider-level challenge. Set onUnauthorized or pass onUnauthorized to authenticateWith to customize failure responses.
Challenge strategy: a route-level onUnauthorized is used first, then onUnauthorized. If neither is configured, Form authentication responds with its default 401 Unauthorized challenge.
Type Parameters
the principal type produced by this scheme.
Properties
Human-readable description of this authentication scheme.
Default handler for authentication failures.
Specifies a POST parameter name used to fetch a password.
Specifies a POST parameter name used to fetch a username.
Functions
Sets a validation function for UserPasswordCredential.