Rapportsystem API - of D03N
Hovedprosjekt FiV Programmering 20-24
Loading...
Searching...
No Matches
secret Namespace Reference

Functions

 setConfig (app)
 

Variables

str host_IP = 'YOUR IP HERE'
 
str host_user = 'YOUR ADMIN USER HERE'
 
str host_password = 'YOUR ADMIN PASSWORD HERE'
 
 host_database = None
 
str host_userdatabase = "users"
 
str host_users_table = "user_info"
 
str host_session_table = "tokens"
 

Function Documentation

◆ setConfig()

secret.setConfig ( app)
Sets the configuration for the Flask application.

Args:
    app: The Flask application object.

Returns:
    int: Always returns 1.

Definition at line 22 of file secret.py.

Variable Documentation

◆ host_database

secret.host_database = None

Definition at line 11 of file secret.py.

◆ host_IP

str secret.host_IP = 'YOUR IP HERE'

Definition at line 2 of file secret.py.

◆ host_password

str secret.host_password = 'YOUR ADMIN PASSWORD HERE'

Definition at line 8 of file secret.py.

◆ host_session_table

str secret.host_session_table = "tokens"

Definition at line 20 of file secret.py.

◆ host_user

str secret.host_user = 'YOUR ADMIN USER HERE'

Definition at line 5 of file secret.py.

◆ host_userdatabase

str secret.host_userdatabase = "users"

Definition at line 14 of file secret.py.

◆ host_users_table

str secret.host_users_table = "user_info"

Definition at line 17 of file secret.py.