class

Wgctl::Server::AuthHandler

Inherits HTTP::Handler < Reference < Object

Constructors

new(token_store : Auth::TokenStore, no_auth_paths : Array(String) = ["/api/v1/health", "/docs", "/docs/", "/api/v1/openapi.json"])
Source

Instance methods

no_auth_paths
Source
no_auth_paths=(no_auth_paths : Array(String))
Source
token_store
Source
token_store=(token_store : Auth::TokenStore)
Source