method

Store.RotateSession

func (backend *Store) RotateSession( ctx context.Context, currentHash string, replacement store.AuthSession, now time.Time, ) error

Public method Store.RotateSession from github.com/riducms/ridu/adapters/postgres.

Source adapters/postgres/auth.go:220

@param ctx
The ctx value.
@param currentHash
The currentHash value.
@param replacement
The replacement 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.