tock / ai.tock.shared.security.auth / TockAuthProvider / protectPaths

protectPaths

abstract fun protectPaths(verticle: WebVerticle, pathsToProtect: Set<String>, sessionHandler: SessionHandler): AuthHandler (source)

Protect paths for the specified verticle.

Return
the AuthHandler.