Documentation
¶
Index ¶
- Constants
- func AttachAuthentication(r *http.Request, authentication authen.Authentication) *http.Request
- func AttachMatchedUrlProtection(r *http.Request, url *config.UrlToRole) *http.Request
- func GetAuthentication(r *http.Request) authen.Authentication
- func GetMatchedUrlProtection(r *http.Request) *config.UrlToRole
- func GetUserDetails(r *http.Request) user.Details
Constants ¶
View Source
const ( MatchedUrlProtection = "MATCHED_URL_PROTECTION" Authentication = "AUTHENTICATION" )
Variables ¶
This section is empty.
Functions ¶
func AttachAuthentication ¶
func GetAuthentication ¶
func GetAuthentication(r *http.Request) authen.Authentication
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.