Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpAuthenticationController ¶
func NewHttpAuthenticationController(authConfig AuthenticationConfig, httpServer HttpServer, httpClient *http.Client, credentialsStore credentials.Store) *httpAuthenticationController
NewHttpAuthenticationController creates a new instance of 'httpAuthenticationController'.
Types ¶
type AuthenticationConfig ¶
type AuthenticationConfig struct {
AuthenticationEndpoint string
CredentialsStore string
PreviousInstanceID string
}
AuthenticationConfig represents the settings for an authentication.
type HttpServer ¶
type HttpServer interface {
// ListenAndServe listens on the TCP network address and then calls Serve to handle requests on
// incoming connections.
ListenAndServe() error
// Shutdown shuts down the server without interrupting any active connections.
Shutdown(ctx context.Context) error
}
HttpServer wraps the http.Server type for enhanced testability.
func NewHttpServer ¶
func NewHttpServer(addr string) HttpServer
NewHttpServer creates a new instance of HttpServer.
type SystemToken ¶
SystemToken contains data for authentication against the Cloudogu Ecosystem Backend.
Click to show internal directories.
Click to hide internal directories.