MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / UserMFA

Class UserMFA

web/pgadmin/model/__init__.py:632–641  ·  view source on GitHub ↗

Stores the options for the MFA for a particular user.

Source from the content-addressed store, hash-verified

630
631
632class UserMFA(db.Model, UserScopedMixin):
633 """Stores the options for the MFA for a particular user."""
634 __tablename__ = 'user_mfa'
635 user_id = db.Column(db.Integer, db.ForeignKey(USER_ID), primary_key=True)
636 mfa_auth = db.Column(db.String(64), primary_key=True)
637 options = db.Column(db.Text(), nullable=True)
638 user = db.relationship(
639 'User',
640 backref=db.backref('user', cascade=CASCADE_STR)
641 )

Callers 1

mfa_addFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected