method

Store.ListSessions

Public method Store.ListSessions from github.com/riducms/ridu/adapters/sqlite.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionIDschema.StableIDThe collectionID value.
userIDstringThe userID value.
nowtime.TimeThe now value.

Returns

The declared result.

([]store.AuthSession, error)

Full signature

func (backend *Store) ListSessions( ctx context.Context, collectionID schema.StableID, userID string, now time.Time, ) ([]store.AuthSession, error)

Source adapters/sqlite/auth.go:326

Related types

  • Store

    A SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.

  • StableID

    A deterministic identifier for schema evolution.

  • AuthSession

    A persisted opaque session digest and safe metadata.