method

Store.CreateAuthToken

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

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

Source adapters/mongodb/auth_tokens.go:52

@param ctx
The ctx value.
@param token
The token value.
@returns
The declared result.

Related types

  • Store

    A replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.

  • AuthToken

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