Configuration
Form auth provider configuration
Functions
Link copied to clipboard
Configure redirect challenge if authentication failed
Configure challenge (response to send back) if authentication failed.
Link copied to clipboard
Adds an authentication filter to the list. For every application call the specified predicate is applied and if it returns true
then the authentication provider is skipped (no auth required for this call with this provider).
Link copied to clipboard
fun validate(body: suspend ApplicationCall.(UserPasswordCredential) -> Principal?)
Content copied to clipboard
Sets a validation function that will check given UserPasswordCredential instance and return Principal, or null if credential does not correspond to an authenticated principal