OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::ValidateCreds Namespace Reference

Enumerations

enum  Type { USERNAME , PASSWORD , RESPONSE }
 

Functions

template<typename STRING >
static bool is_valid (const Type type, const STRING &cred, const bool strict)
 

Enumeration Type Documentation

◆ Type

Enumerator
USERNAME 
PASSWORD 
RESPONSE 

Definition at line 23 of file validatecreds.hpp.

Function Documentation

◆ is_valid()

template<typename STRING >
static bool openvpn::ValidateCreds::is_valid ( const Type  type,
const STRING &  cred,
const bool  strict 
)
static

Definition at line 31 of file validatecreds.hpp.

Here is the caller graph for this function: