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/postgres.

Source adapters/postgres/auth.go:265

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

Related types

  • Store

    A PostgreSQL implementation of Ridu’s document, snapshot, auth, preference, task, job, lock, upload-reference, and migration store contracts.

  • AuthSession

    A persisted opaque session digest and safe metadata.