REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
auth.h File Reference
#include <IPAddress.h>
#include <Printable.h>
#include <cstring>
#include <list>
#include <map>
#include "utils/durations.h"
#include "utils/json.h"
#include "utils/mac.h"
#include "utils/singleton.h"
#include "nvmconfig/persistent.h"
Include dependency graph for auth.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  net::auth::UserPasswordAuthentification
 A simple plaintext Username+Password authentification scheme backed against the EEPROM UserSettings. More...
 
class  net::auth::RemoteIdentifier
 Some basic information about the remote station. We interpret 0.0.0.0 als a local terminal. More...
 
struct  net::auth::DeviceLock
 Facilities to lock a LUCIDAC device by a single user. More...
 
class  net::auth::FailToBan
 Simple failed login backoff to avoid login brute force attempts. More...
 
struct  net::auth::Gatekeeper
 Actually carries out login. More...
 
class  net::auth::AuthentificationContext
 A thin wrapper around the username. More...
 

Namespaces

namespace  net
 
namespace  net::auth
 The net::auth namespace collects any security-related measures to harden the LUCIDAC device in the wild and open Ethernet/IPv4 land.
 

Typedefs

using net::auth::User = std::string
 

Enumerations

enum class  net::auth::SecurityLevel { net::auth::RequiresAdmin , net::auth::RequiresLogin , net::auth::RequiresNothing }
 Simple security levels for the message handlers. More...
 

Functions

 net::auth::JSON_CONVERT_SUGAR (UserPasswordAuthentification)
 
 net::auth::JSON_CONVERT_SUGAR (Gatekeeper)