method

Store.CreateAuthToken

func (backend *Store) CreateAuthToken( ctx context.Context, token store.AuthToken, ) error

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

Source adapters/postgres/auth.go:306

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

  • AuthToken

    A persisted one-way digest of a single-use recovery secret.