6 #ifndef SWIFT_CORE_DATA_AUTHENTICATEDUSER_H
7 #define SWIFT_CORE_DATA_AUTHENTICATEDUSER_H
19 static const char *
key() {
return "dbuser"; }
22 static constexpr
bool isPinned() {
return true; }
Core data traits (aka cached values) and classes.
Trait for for global cached DB user. This user has authenticated with the swift DB.
static constexpr bool isPinned()
First load is synchronous.
static const char * key()
Key in data cache.
static int timeToLive()
Cache lifetime.
static constexpr bool isSession()
Session object.
Base class for traits to be used as template argument to swift::misc::CData.