1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-18 20:59:43 +02:00

auth with cas

This commit is contained in:
Derek Chen 2019-08-09 13:44:03 +08:00
parent 8c99977fc9
commit 8c2df6178d
150 changed files with 43682 additions and 24175 deletions

15
model/auth/cas.go Normal file
View file

@ -0,0 +1,15 @@
package auth
// CASAuthRequest data received via Keycloak client library
type CASAuthRequest struct {
Ticket string `json:"ticket"`
Domain string `json:"domain"`
}
// CASConfig server configuration
type CASConfig struct {
URL string `json:"url"`
RedirectURL string `json"redirectUrl"`
}