Developer Documentation¶
Python Code¶
Gate One consists of gateone.py and several supporting Python modules and scripts. The documentation for each can be found below:
authentication.py- Authentication Classesauthorization.py- Authentication Classesctypes_pam.py- PAM Authentication Modulepam.py- A PAM Authentication Modulesso.py- A Tornado Kerberos Single Sign-On Modulelog.py- Gate One Logging Modulelogviewer.py- Session Log Viewerserver.py- Gate One's Core Scriptterminal.py- A Pure Python Terminal Emulatortermio.py- Terminal Input/Output Moduleutils.py- Supporting Functions
JavaScript Code¶
A large and very important part of Gate One is the client-side JavaScript that runs in the user's browser. This consists of the following:
Plugin Code¶
Gate One comes bundled with a number of plugins which can include any number of files in Python, JavaScript, or CSS (yes, you could have a CSS-only plugin!). These included plugins are below:
Note
The Terminal application has its own plugins.
Developing Plugins¶
Developing plugins for Gate One is easy and fun. See The Example Plugin for how it's done.