1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 05:39:42 +02:00
documize/model/auth/cas.go

14 lines
296 B
Go
Raw Normal View History

2019-08-09 13:44:03 +08:00
package auth
2019-08-15 17:15:39 +01:00
// CASAuthRequest data received via CAS client library
2019-08-09 13:44:03 +08:00
type CASAuthRequest struct {
2019-08-15 17:15:39 +01:00
Ticket string `json:"ticket"`
2019-08-09 13:44:03 +08:00
Domain string `json:"domain"`
}
// CASConfig server configuration
type CASConfig struct {
2019-08-15 17:15:39 +01:00
URL string `json:"url"`
2019-08-09 13:44:03 +08:00
RedirectURL string `json"redirectUrl"`
2019-08-15 17:15:39 +01:00
}