new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Better Auth · Plugins · all subjects

one-time-token/configuration

2 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

One-Time Token plugin options

The oneTimeToken plugin accepts the following options: disableClientRequest (boolean, optional, default false) - if true, the token will only be generated on the server side; expiresIn (number, optional, default 3) - the duration for which the token is valid in minutes; generateToken - a custom token generator function that takes a session object and ctx as parameters; storeToken (optional) - configures how the token is stored in the database.

One-Time Token storeToken options

The storeToken option configures token storage with three choices: 'plain' (token stored in plain text, default), 'hashed' (token hashed using default hasher), or a custom hasher object with type 'custom-hasher' and a hash function that takes a token and returns a hashed token. These options only affect how the token is stored in the database, not the token sent to the client.

Give your agent this brain