Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallbackHandler ¶
func CallbackHandler(p libsecurity.HttpProvider, enforcer libsecurity.Enforcer, tokenService security.TokenService, maintenanceAdapter config.MaintenanceAdapter) gin.HandlerFunc
CallbackHandler validates CAS ticket, creates access token and redirects to referer url.
func LoginHandler ¶
func LoginHandler(config libsecurity.CasConfig) gin.HandlerFunc
LoginHandler redirects to CAS login url and saves referer url to service url.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.