Documentation
¶
Index ¶
- func NewMockController(logger logging.Logger, config Config, authFlow authflow.AuthenticationFlow) common.Provider
- type Config
- type LandingTemplate
- type MockController
- func (m *MockController) AppendRoutes(router *mux.Router)
- func (m *MockController) Description() string
- func (m *MockController) LandingHandler(w http.ResponseWriter, r *http.Request)
- func (m *MockController) LoginHandler(w http.ResponseWriter, r *http.Request)
- func (m *MockController) Name() string
- func (m *MockController) Path() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockController ¶
Types ¶
type Config ¶
type Config struct {
common.ProviderConfig
}
type LandingTemplate ¶
type MockController ¶
type MockController struct {
// contains filtered or unexported fields
}
func (*MockController) AppendRoutes ¶
func (m *MockController) AppendRoutes(router *mux.Router)
func (*MockController) Description ¶
func (m *MockController) Description() string
func (*MockController) LandingHandler ¶
func (m *MockController) LandingHandler(w http.ResponseWriter, r *http.Request)
func (*MockController) LoginHandler ¶
func (m *MockController) LoginHandler(w http.ResponseWriter, r *http.Request)
func (*MockController) Name ¶
func (m *MockController) Name() string
func (*MockController) Path ¶
func (m *MockController) Path() string
Click to show internal directories.
Click to hide internal directories.