Configuration
class Configuration<T : Any> : Configuration
Session auth configuration
Properties
var A response to send back if authentication failed |
Inherited Properties
val name: String? is the name of the provider, or |
|
val pipeline: AuthenticationPipeline Authentication pipeline for this provider |
Functions
fun challenge(block: SessionAuthChallengeFunction<T>): Unit A response to send back if authentication failed |
|
fun validate( Sets a validation function that will check given T session instance and return Principal, or null if the session does not correspond to an authenticated principal |
Inherited Functions
fun skipWhen(predicate: (ApplicationCall) -> Boolean): Unit Adds an authentication filter to the list.
For every application call the specified predicate is applied and if it returns |