AuthenticationRouteSelector

class AuthenticationRouteSelector : RouteSelector

An authentication route node that is used by Authentication feature and usually created by Route.authenticate DSL function so generally there is no need to instantiate it directly unless you are writing an extension

Parameters

names - of authentication providers to be applied to this route

Constructors

<init>

AuthenticationRouteSelector(names: List<String?>)

An authentication route node that is used by Authentication feature and usually created by Route.authenticate DSL function so generally there is no need to instantiate it directly unless you are writing an extension

Properties

names

val names: List<String?>

of authentication providers to be applied to this route

Inherited Properties

quality

val quality: Double

indicates how good this selector is compared to siblings

Functions

evaluate

fun evaluate(
    context: RoutingResolveContext,
    segmentIndex: Int
): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex

toString

fun toString(): String