method

Store.FindSession

func (backend *Store) FindSession( ctx context.Context, tokenHash string, now time.Time, ) (store.AuthSession, error)

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

Source adapters/sqlite/auth.go:306

@param ctx
The ctx value.
@param tokenHash
The tokenHash value.
@param now
The now value.
@returns
The declared result.

Related types

  • Store

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

  • AuthSession

    A persisted opaque session digest and safe metadata.