Open Kilda Java Documentation
app.models.Users Class Reference
Inheritance diagram for app.models.Users:

Public Member Functions

def __init__ (self, username, password, twofactor)
 
def is_authenticated (self)
 
def is_active (self)
 
def is_anonymous (self)
 
def get_id (self)
 
def __repr__ (self)
 

Static Public Attributes

 id = db.Column(db.BIGINT, primary_key=True)
 
 username = db.Column(db.String(500))
 
 password = db.Column(db.String(500))
 
 twofactor = db.Column(db.String(500))
 

Detailed Description

Definition at line 20 of file models.py.

Constructor & Destructor Documentation

◆ __init__()

def app.models.Users.__init__ (   self,
  username,
  password,
  twofactor 
)

Definition at line 26 of file models.py.

Member Function Documentation

◆ __repr__()

def app.models.Users.__repr__ (   self)

Definition at line 43 of file models.py.

◆ get_id()

def app.models.Users.get_id (   self)

Definition at line 40 of file models.py.

◆ is_active()

def app.models.Users.is_active (   self)

Definition at line 34 of file models.py.

◆ is_anonymous()

def app.models.Users.is_anonymous (   self)

Definition at line 37 of file models.py.

◆ is_authenticated()

def app.models.Users.is_authenticated (   self)

Definition at line 31 of file models.py.

Member Data Documentation

◆ id

app.models.Users.id = db.Column(db.BIGINT, primary_key=True)
static

Definition at line 21 of file models.py.

◆ password

app.models.Users.password = db.Column(db.String(500))
static

Definition at line 23 of file models.py.

◆ twofactor

app.models.Users.twofactor = db.Column(db.String(500))
static

Definition at line 24 of file models.py.

◆ username

app.models.Users.username = db.Column(db.String(500))
static

Definition at line 22 of file models.py.


The documentation for this class was generated from the following file: