Documentation ¶
Index ¶
- type HandlerState
- func (h HandlerState) HandleAuthCluster(w http.ResponseWriter, r *http.Request) error
- func (h HandlerState) HandleAuthCodeCallback(w http.ResponseWriter, r *http.Request) error
- func (h HandlerState) HandleLogin(w http.ResponseWriter, r *http.Request) error
- func (h HandlerState) HandleLogout(w http.ResponseWriter, r *http.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerState ¶
type HandlerState struct { // Basic parameters. Ctx context.Context Logger logr.Logger Issuer string ClientID string Scopes []string HTTPClient *http.Client State state.State PKCE pkce.Code Nonce nonce.Nonce RequestedAudience string OAuth2Config *oauth2.Config UseFormPost bool RestConf *rest.Config SessionStore sessions.Store // contains filtered or unexported fields }
func SetRestConfHandlerState ¶
func SetRestConfHandlerState(r *rest.Config) *HandlerState
func (HandlerState) HandleAuthCluster ¶
func (h HandlerState) HandleAuthCluster(w http.ResponseWriter, r *http.Request) error
func (HandlerState) HandleAuthCodeCallback ¶
func (h HandlerState) HandleAuthCodeCallback(w http.ResponseWriter, r *http.Request) error
func (HandlerState) HandleLogin ¶
func (h HandlerState) HandleLogin(w http.ResponseWriter, r *http.Request) error
func (HandlerState) HandleLogout ¶
func (h HandlerState) HandleLogout(w http.ResponseWriter, r *http.Request) error
Click to show internal directories.
Click to hide internal directories.