method
Store.FindSessionByID
Public method Store.FindSessionByID from github.com/riducms/ridu/adapters/mongodb.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
id | string | The id value. |
now | time.Time | The now value. |
Returns
The declared result.
(store.AuthSession, error)Full signature
func (backend *Store) FindSessionByID(
ctx context.Context,
id string,
now time.Time,
) (store.AuthSession, error)Related 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.