Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
jwt-auth
master
Top Level Namespace
Auth
Credentials
User
AuthMiddleware
Handler
Jwt
Auth
Users
User
Built with Crystal 1.9.2
2023-10-07 17:31:34 UTC
class
AuthMiddleware::Handler
AuthMiddleware::Handler
Kemal::Handler
Reference
Object
Overview
Middleware for JWT authentication.
Defined in:
auth_middleware.cr
Instance Method Summary
#auth_error
(env, message)
#call
(env : HTTP::Server::Context)
Instance Method Detail
def
auth_error
(env, message)
#
[
View source
]
def
call
(env :
HTTP::Server::Context
)
#
[
View source
]