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

# TockAuthProvider

`interface TockAuthProvider : AuthProvider` (source)

Base interface for AuthProvider in Tock framework.

### Properties

#### sessionCookieName | The tock session cookie name. `open val sessionCookieName: String`

### Functions

#### excludedPaths | Paths to exclude from the AuthProvider. `open fun excludedPaths(verticle: WebVerticle): Set<Regex>`
#### protectPaths | Protect paths for the specified verticle. `abstract fun protectPaths(verticle: WebVerticle, pathsToProtect: Set<String>, sessionHandler: SessionHandler): AuthHandler`
#### toTockUser | Gets a TockUser from current vert.x state. `open fun toTockUser(context: RoutingContext): TockUser?`