Skip to main content

Enumeration: LoginState

model/postgres/UserLoginData.entity.LoginState

The states a UserLoginData can be in

Enumeration Members

BLOCKED

BLOCKED = "BLOCKED"

The login of the user with this login data has been blocked by an administrator

Defined in

login-service/src/model/postgres/UserLoginData.entity.ts:28


VALID

VALID = "VALID"

The UserLoginData represents a valid way the user can authenticate. It can be used to login/sync (depending on strategy instance config).

Defined in

login-service/src/model/postgres/UserLoginData.entity.ts:23


WAITING_FOR_REGISTER

WAITING_FOR_REGISTER = "WAITING_FOR_REGISTER"

The user authenticated using a strategy but has no account yet or no account has been linked yet. The login data will be saved for the specified registration time to give the user time to call the registration or link api using the register token

Defined in

login-service/src/model/postgres/UserLoginData.entity.ts:17