OpenVPN
Functions | Variables
totpauth Namespace Reference

Functions

def main ()
 
def write_auth_control (status)
 
def write_auth_pending (timeout, method, extra)
 

Variables

dictionary secrets
 

Function Documentation

◆ main()

def totpauth.main ( )

Definition at line 54 of file totpauth.py.

References write_auth_control(), and write_auth_pending().

Referenced by write_auth_pending().

◆ write_auth_control()

def totpauth.write_auth_control (   status)

Definition at line 100 of file totpauth.py.

Referenced by main().

◆ write_auth_pending()

def totpauth.write_auth_pending (   timeout,
  method,
  extra 
)

Definition at line 105 of file totpauth.py.

References main().

Referenced by main().

Variable Documentation

◆ secrets

dictionary totpauth.secrets
Initial value:
1 = {"Test-Client": "OS6JDNRK2BNUPQVX",
2  "Client-2": "IXWEMP7SK2QWSHTG"}

Definition at line 50 of file totpauth.py.