Documentation
¶
Index ¶
- type InitConfig
- type OIDCConfig
- func (oc *OIDCConfig) AuthN_Handler(next http.Handler) http.Handler
- func (oc *OIDCConfig) AuthZ_Handler(methodScopes appconfig.MethodScopes, next http.Handler) http.Handler
- func (oc *OIDCConfig) GetUser(w http.ResponseWriter, r *http.Request)
- func (oc *OIDCConfig) GetUserGroups(w http.ResponseWriter, r *http.Request)
- func (oc *OIDCConfig) HandleCallback(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitConfig ¶
type OIDCConfig ¶
type OIDCConfig struct {
// contains filtered or unexported fields
}
func InitOIDC ¶
func InitOIDC(appConfig *InitConfig, store sessions.Store, sessionName string) *OIDCConfig
func (*OIDCConfig) AuthN_Handler ¶
func (oc *OIDCConfig) AuthN_Handler(next http.Handler) http.Handler
func (*OIDCConfig) AuthZ_Handler ¶
func (oc *OIDCConfig) AuthZ_Handler(methodScopes appconfig.MethodScopes, next http.Handler) http.Handler
methodScope [{HTTPMethod:* Scope:*}]
func (*OIDCConfig) GetUser ¶
func (oc *OIDCConfig) GetUser(w http.ResponseWriter, r *http.Request)
func (*OIDCConfig) GetUserGroups ¶
func (oc *OIDCConfig) GetUserGroups(w http.ResponseWriter, r *http.Request)
func (*OIDCConfig) HandleCallback ¶
func (oc *OIDCConfig) HandleCallback(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.