Documentation
¶
Index ¶
Constants ¶
View Source
const ( RdpGwSession = "RDPGWSESSION" MaxAge = 120 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SessionKey []byte SessionEncryptionKey []byte PAATokenGenerator TokenGeneratorFunc UserTokenGenerator UserTokenGeneratorFunc EnableUserToken bool OAuth2Config *oauth2.Config OIDCTokenVerifier *oidc.IDTokenVerifier Hosts []string GatewayAddress string UsernameTemplate string NetworkAutoDetect int BandwidthAutoDetect int ConnectionType int SplitUserDomain bool DefaultDomain string // contains filtered or unexported fields }
func (*Config) HandleCallback ¶
func (c *Config) HandleCallback(w http.ResponseWriter, r *http.Request)
func (*Config) HandleDownload ¶
func (c *Config) HandleDownload(w http.ResponseWriter, r *http.Request)
type TokenGeneratorFunc ¶
Click to show internal directories.
Click to hide internal directories.