OpenVPN
Functions | Variables
totpauth Namespace Reference

Functions

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

Variables

dict secrets
 

Function Documentation

◆ main()

totpauth.main ( void  )

Definition at line 54 of file totpauth.py.

References write_auth_control(), and write_auth_pending().

Referenced by write_auth_pending().

◆ write_auth_control()

totpauth.write_auth_control (   status)

Definition at line 100 of file totpauth.py.

Referenced by main().

◆ write_auth_pending()

totpauth.write_auth_pending (   timeout,
  method,
  extra 
)

Definition at line 105 of file totpauth.py.

References main().

Referenced by main().

Variable Documentation

◆ secrets

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

Definition at line 50 of file totpauth.py.