Documentation ¶
Index ¶
Constants ¶
View Source
const AuthKey = "cshauth"
View Source
const CookieName = "Auth"
View Source
const ProviderURI = "https://sso.csh.rit.edu/auth/realms/csh"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSHAuth ¶
type CSHAuth struct {
// contains filtered or unexported fields
}
func (*CSHAuth) AuthCallback ¶
func (*CSHAuth) AuthLogout ¶
func (*CSHAuth) AuthRequest ¶
func (*CSHAuth) AuthWrapper ¶
func (auth *CSHAuth) AuthWrapper(page gin.HandlerFunc) gin.HandlerFunc
type CSHClaims ¶
type CSHClaims struct { Token string `json:"token"` UserInfo CSHUserInfo `"json:user_info"` jwt.StandardClaims }
Click to show internal directories.
Click to hide internal directories.