Documentation
¶
Index ¶
Constants ¶
View Source
const V = 3
Variables ¶
This section is empty.
Functions ¶
func SetZrokCookie ¶ added in v0.4.7
Types ¶
type Config ¶
type Config struct {
V int
Identity string
Address string
HostMatch string
Oauth *OauthConfig
}
func DefaultConfig ¶
func DefaultConfig() *Config
type HttpFrontend ¶ added in v0.4.7
type HttpFrontend struct {
// contains filtered or unexported fields
}
func NewHTTP ¶
func NewHTTP(cfg *Config) (*HttpFrontend, error)
func (*HttpFrontend) Run ¶ added in v0.4.7
func (f *HttpFrontend) Run() error
type OauthConfig ¶ added in v0.4.7
type OauthConfig struct {
BindAddress string
RedirectUrl string
CookieDomain string
HashKey string `cf:"+secret"`
Providers []*OauthProviderConfig
}
func (*OauthConfig) GetProvider ¶ added in v0.4.7
func (oc *OauthConfig) GetProvider(name string) *OauthProviderConfig
type OauthProviderConfig ¶ added in v0.4.7
type ZrokClaims ¶ added in v0.4.7
Click to show internal directories.
Click to hide internal directories.