method

Store.ListSessions

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

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

Source adapters/mongodb/auth_sessions.go:302

@param ctx
The ctx value.
@param collectionID
The collectionID value.
@param userID
The userID value.
@param now
The now value.
@returns
The declared result.

Related types

  • Store

    A replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.

  • StableID

    A deterministic identifier for schema evolution.

  • AuthSession

    A persisted opaque session digest and safe metadata.