Documentation
¶
Index ¶
- Variables
- func AcceptUser(w radius.ResponseWriter, r *radius.Request) (code radius.Code)
- func AddVendorGroup(p *radius.Packet, r *radius.Request)
- func IsOtpCodeValied(username string, password string) bool
- func IsUserPassValied(auth_provider authentiate.Auth_Provider, username string, password string) bool
- func RejectUser(w radius.ResponseWriter, r *radius.Request) (code radius.Code)
- func SendForChalenge(w radius.ResponseWriter, r *radius.Request) (code radius.Code)
- func StartRadius()
- func User_PassHandler(w radius.ResponseWriter, r *radius.Request)
- type RadConfs
- type Statepool
Constants ¶
This section is empty.
Variables ¶
View Source
var Auth_Provider authentiate.LdapProvider
set ldap as auth provider
View Source
var EnableMetrics bool
Functions ¶
func AcceptUser ¶
func IsOtpCodeValied ¶
func IsUserPassValied ¶
func IsUserPassValied(auth_provider authentiate.Auth_Provider, username string, password string) bool
func RejectUser ¶
func SendForChalenge ¶
func StartRadius ¶
func StartRadius()
func User_PassHandler ¶
func User_PassHandler(w radius.ResponseWriter, r *radius.Request)
Types ¶
type RadConfs ¶
type RadConfs struct { ListenAddress string Secret string Enable_Fortinet_Group_Name bool Authentication_Mode string //only_otp, only_password, two_fa }
var RadiusConfigs RadConfs
Click to show internal directories.
Click to hide internal directories.