auth

package
v0.0.0-...-4ef8731 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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

type LogoutUrl

type LogoutUrl string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL