Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Patty::Auth::Session
Inherits
Reference
<
Object
Constructors
new
(credential_generation :
String
, now :
Time
=
Time
.utc)
Source
Instance methods
created_at
Source
credential_generation
Source
csrf_token
Source
expired?
(now :
Time
=
Time
.utc) :
Bool
Source
flash
(result :
Result
)
Source
flash!
(kind :
String
, message :
String
)
Source
last_seen
Source
recovery_codes=
(codes :
Array
(
String
))
Source
take_flash
Source
take_recovery_codes
Source
token
Source
touch
(now :
Time
=
Time
.utc)
Source