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:
parent
8c99977fc9
commit
8c2df6178d
150 changed files with 43682 additions and 24175 deletions
15
model/auth/cas.go
Normal file
15
model/auth/cas.go
Normal 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"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue