rupe_otp

96 rows


Description

Tabla para almacenar códigos OTP (One-Time Password) de autenticación de doble factor (MFA)

Columns

Column Type Size Nulls Auto Default Children Parents Comments
otp_id serial 10 nextval('rupe.rupe_otp_otp_id_seq'::regclass)
rupe_login_mfa.log_otp_fk rupe_login_mfa_otp_fk R

Identificador único del código OTP

otp_crea_usu varchar 255 null
otp_crea_fecha timestamp 29,6 null
otp_crea_origen int4 10 null
otp_ultmod_usu varchar 255 null
otp_ultmod_fecha timestamp 29,6 null
otp_ultmod_origen int4 10 null
otp_version int4 10 null
otp_uuid varchar 36 null

UUID único para identificar el código OTP

otp_codigo varchar 10 null

Código OTP de 6 dígitos

otp_fecha_validado timestamp 29,6 null

Fecha y hora en que se validó el código OTP

otp_validado bool 1 null

Indica si el código OTP ha sido validado

otp_bloqueado bool 1 null

Indica si el código OTP está bloqueado (por intentos fallidos o expiración)

otp_intentos_fallidos int4 10 null

Número de intentos fallidos de validación del código OTP

Indexes

Constraint Name Type Sort Column(s)
rupe_otp_pkey Primary key Asc otp_id

Relationships