Documentation
¶
Index ¶
- func GetPersistence(c string) *mgo.Collection
- func GetRemoteAddr(raddr string) string
- func IncrementFailedLogin(ip string, u string)
- func NewCASFailureResponse(c string, msg string) []byte
- func NewCASProxyFailureResponse(c string, msg string) []byte
- func NewCASProxySuccessResponse(pt string) []byte
- func NewCASSuccessResponse(u string, pgtiou string) []byte
- func ResolveTemplate(tmpl string) string
- func Url(path string) string
- type CASAuthenticationFailure
- type CASAuthenticationSuccess
- type CASPgtIou
- type CASProxyFailure
- type CASProxySuccess
- type CASServiceResponse
- type CASUser
- type FailedLogin
- type LoginRequestorData
- type LoginRequestorMessage
- type LoginRequestorSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPersistence ¶
func GetPersistence(c string) *mgo.Collection
func GetRemoteAddr ¶
func IncrementFailedLogin ¶
func NewCASFailureResponse ¶
func NewCASSuccessResponse ¶
func ResolveTemplate ¶
Types ¶
type CASProxyFailure ¶
type CASProxySuccess ¶
type CASServiceResponse ¶
type CASServiceResponse struct {
XMLName xml.Name `xml:"cas:serviceResponse"`
Xmlns string `xml:"xmlns:cas,attr"`
Success *CASAuthenticationSuccess
Failure *CASAuthenticationFailure
ProxySuccess *CASProxySuccess
ProxyFailure *CASProxyFailure
}
func NewCASResponse ¶
func NewCASResponse() CASServiceResponse
type FailedLogin ¶
type LoginRequestorData ¶
type LoginRequestorData struct {
Config *config.Config
Session LoginRequestorSession
Message LoginRequestorMessage
ShowForm bool
}
type LoginRequestorMessage ¶
Click to show internal directories.
Click to hide internal directories.