Documentation
¶
Overview ¶
Package loginshare provides methods for interacting with Kayako's Loginshare authentication system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginShare ¶
type LoginShare struct {
}
func (*LoginShare) Request ¶
func (l *LoginShare) Request(w http.ResponseWriter, r *http.Request)
Request implements the http.Handler interface to provide a drop-in Loginshare request/response handler
type RequestParams ¶
type Response ¶
type Response struct {
XMLName struct{} `xml:"loginshare"`
Result int `xml:"result"`
Message string `xml:"message,omitempty"`
StaffRecord Staff `xml:"staff,omitempty"`
}
Response to a loginshare authentication request
type Staff ¶
type Staff struct {
Firstname string `xml:"firstname"`
Lastname string `xml:"lastname"`
Title string `xml:"designation"`
Email string `xml:"email"`
Cell string `xml:"mobilenumber"`
Signature string `xml:"signature"`
Team string `xml:"team"`
}
Staff record component of a loginshare response
Source Files
¶
- common.go
Click to show internal directories.
Click to hide internal directories.
