Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRouter ¶
func SetupRouter(authContext *AuthContext, acceptedOrigins []string) *gin.Engine
func StartHttpServer ¶
func StartHttpServer(wg *sync.WaitGroup, authContext *AuthContext)
Types ¶
type AuthContext ¶
type AuthContext struct {
// contains filtered or unexported fields
}
func NewAuthContext ¶
func NewAuthContext(oauthConfig *oauth2.Config, logoutUrl LogoutUrl) *AuthContext
func (AuthContext) LogoutUrl ¶
func (c AuthContext) LogoutUrl() string
Click to show internal directories.
Click to hide internal directories.