method
Store.CreateSession
Public method Store.CreateSession from github.com/riducms/ridu/adapters/sqlite.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
session | store.AuthSession | The session value. |
expectedPasswordHash | []byte | The expectedPasswordHash value. |
Returns
The declared result.
errorFull signature
func (backend *Store) CreateSession(
ctx context.Context,
session store.AuthSession,
expectedPasswordHash []byte,
) errorRelated types
StoreA SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.
AuthSessionA persisted opaque session digest and safe metadata.