Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
curator
master
Curator
Api
Controller
Helpers
Base
Event
Filter
Rule
Operation
Rules
UtsRule
Operation
Forwards
Forward
Manager
HttpHandler
Relay
Transformer
Utils
Auth
RingBuffer
Built with Crystal 1.9.2
2023-10-07 19:00:16 UTC
class
Curator::Utils::Auth
Curator::Utils::Auth
Reference
Object
Defined in:
utils/auth.cr
Constructors
.new
(api_key : String =
ENV
[
"API_KEY"
])
Instance Method Summary
#api_key
: String
#valid?
(http_context)
Constructor Detail
def self.
new
(api_key : String =
ENV
[
"API_KEY"
])
#
[
View source
]
Instance Method Detail
def
api_key
: String
#
[
View source
]
def
valid?
(http_context)
#
[
View source
]