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 const char * key()
Key in data cache.
static constexpr bool isPinned()
First load is synchronous.
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.