Documentation ¶
Index ¶
- Variables
- func AgentLogin(w http.ResponseWriter, r *http.Request)
- func AuthHTTPAccessProxy(w http.ResponseWriter, r *http.Request)
- func DBLogin(w http.ResponseWriter, r *http.Request)
- func DestroyHttpSession(w http.ResponseWriter, r *http.Request)
- func GetHttpSession(w http.ResponseWriter, r *http.Request)
- func InitStore(state *global.State, policyFunc models.CheckPolicyFunc)
- func RadiusLogin(w radius.ResponseWriter, r *radius.Request)
- type NewSession
- type ServiceAgentLogin
- type Session
Constants ¶
This section is empty.
Variables ¶
View Source
var Store adapter
Store is the package state variable which contains database connections
Functions ¶
func AgentLogin ¶
func AgentLogin(w http.ResponseWriter, r *http.Request)
func AuthHTTPAccessProxy ¶
func AuthHTTPAccessProxy(w http.ResponseWriter, r *http.Request)
AuthHTTPAccessProxy initiates http access proxy session. Intent should be 'AUTH_HTTP_ACCESS_PROXY'
func DestroyHttpSession ¶
func DestroyHttpSession(w http.ResponseWriter, r *http.Request)
DestroyHttpSession ends http session and starts logout sequence
func GetHttpSession ¶
func GetHttpSession(w http.ResponseWriter, r *http.Request)
GetHttpSession receives session recording from extension
func InitStore ¶
func InitStore(state *global.State, policyFunc models.CheckPolicyFunc)
InitStore initialises package state
func RadiusLogin ¶
func RadiusLogin(w radius.ResponseWriter, r *radius.Request)
RadiusLogin is a handler for incoming radius auth request
Types ¶
type NewSession ¶
type ServiceAgentLogin ¶
type ServiceAgentLogin struct { ServiceID string `json:"serviceID"` ServiceKey string `json:"serviceKey"` User string `json:"user"` Password string `json:"password"` PublicKey []byte `json:"publicKey"` TfaMethod string `json:"tfaMethod"` TotpCode string `json:"totpCode"` UserIP string `json:"userIP"` UserWorkstation string `json:"workstation"` TrasaID string `json:"trasaID"` SessionID string `json:"sessionID"` ServiceType string `json:"serviceType"` //RdpProtocol string `json:"rdpProto"` OrgID string `json:"orgID"` Hostname string `json:"hostname"` }
Click to show internal directories.
Click to hide internal directories.