method
Store.RotateSession
Public method Store.RotateSession from github.com/riducms/ridu/adapters/mongodb.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
currentHash | string | The currentHash value. |
replacement | store.AuthSession | The replacement value. |
now | time.Time | The now value. |
Returns
The declared result.
errorFull signature
func (backend *Store) RotateSession(
ctx context.Context,
currentHash string,
replacement store.AuthSession,
now time.Time,
) errorRelated types
StoreA replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.
AuthSessionA persisted opaque session digest and safe metadata.