keycloak

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustLogin added in v0.4.11

func MustLogin() gin.HandlerFunc

Types

type KeycloakConfig

type KeycloakConfig struct {
	DefaultRoles []string
	BuildConfig  ginkeycloak.BuilderConfig
}

func NewKeycloakConfig

func NewKeycloakConfig(logger *zap.Logger) *KeycloakConfig

func (*KeycloakConfig) Auth

func (kc *KeycloakConfig) Auth(roles ...string) gin.HandlerFunc

Jump to

Keyboard shortcuts

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