Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Authly::InMemoryStateStore
Inherits
Authly::StateStore
<
Reference
<
Object
Constructors
new
(default_ttl :
Time::Span
= 5.minutes)
Source
Instance methods
cleanup_expired
Clean up expired states
Source
consume
(state :
String
)
Source
store
(state :
String
, ttl :
Time::Span
= 5.minutes)
Source
valid?
(state :
String
) :
Bool
Source