Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
amber
v1.4.1
Amber
CLI
Api
ApiController
App
Auth
Config
WatchOptions
Controller
EmptyMigration
ErrorTemplate
Field
Generator
Generators
Helpers
Migration
Mailer
MainCommand
Database
Help
Options
Parser
Encrypt
Help
Options
Parser
Exec
Help
Options
Parser
Generate
Help
Options
Parser
Help
New
Help
Options
Parser
Options
Parser
Pipelines
BadRoutesException
Help
Options
Parser
Plugin
Help
Options
Parser
Routes
Help
Options
Parser
Watch
Help
Options
Parser
Migration
Model
Scaffold
ScaffoldController
ScaffoldView
WebSocket
WebSocketChannel
Cluster
Controller
Base
Callbacks
Error
Helpers
Filter
FilterBuilder
Filters
Helpers
CSRF
I18n
Redirect
Render
Responders
Content
ProcType
Route
Static
DSL
Callbacks
Pipeline
Router
Server
Environment
Env
EnvType
Loader
Logging
OptionsType
Settings
SettingValue
SMTPSettings
Exceptions
Base
Controller
Redirect
CookieOverflow
DuplicateRouteError
EncryptionKeyMissing
Environment
Forbidden
InvalidMessage
InvalidSignature
Page
RouteNotFound
Validator
InvalidParam
ValidationFailed
Extensions
HTTPServerContext
Number
String
Pipe
Base
ClientIp
Controller
CORS
OriginType
CSRF
BaseToken
PersistentToken
TokenOperations
RefreshableToken
Error
Flash
Headers
Logger
Origin
Pipeline
PoweredByAmber
Preflight
Session
Static
Plugins
Fetcher
Installer
Plugin
Settings
RouteType
Recipes
App
Controller
FileEntries
Model
Recipe
RecipeFetcher
Scaffold
Controller
View
Route
Router
Cookies
AbstractStore
EncryptedStore
PermanentStore
SignedStore
Store
File
Flash
FlashStore
Params
Parsers
FormData
JSON
Multipart
Router
Scope
Session
AbstractStore
CookieStore
RedisStore
SessionHash
Store
Types
Files
Key
Params
Server
WebSocketAdapter
SSL
Support
ClientReload
FileEncryptor
LocaleFormat
MessageEncryptor
MessageVerifier
MimeTypes
Validators
BaseRule
Error
OptionalRule
Params
RequiredRule
ValidationBuilder
WebSockets
Adapters
MemoryAdapter
RedisAdapter
Channel
ClientSocket
ClientSockets
Server
Handler
SubscriptionManager
Command
Help
Options
Parser
Number
Sentry
ProcessRunner
SentryCommand
Help
Options
Parser
String
Teeplate
FileTree
RenderingEntry
Built with Crystal 1.9.2
2023-10-08 12:41:12 UTC
module
Amber::Pipe::CSRF::RefreshableToken
Extended Modules
Amber::Pipe::CSRF::BaseToken
Amber::Pipe::CSRF::RefreshableToken
Defined in:
amber/pipes/csrf.cr
Instance Method Summary
#token
(context) : String
#valid_token?
(context)
Instance Method Detail
def
token
(context) :
String
#
[
View source
]
def
valid_token?
(context)
#
[
View source
]