Skip to content

fresh_check

A fresh check: what an action asks for each time it changes who can reach what.

An action that changes an account's credentials, or lets a new person or machine reach an organisation's data, takes the account password again, and a current code from an account with a second factor. A session alone does not do these, and nothing is remembered between them: each action asks.

FreshCheck pydantic-model

Bases: BaseModel

The account password, and a current code from an account with a second factor.

Fields:

code = None pydantic-field

The authenticator app's current code, required when the account has a second factor.

password pydantic-field

The account password, entered again.