auth

package
v0.0.0-...-d062592 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetK8sToken

func GetK8sToken(namespace string, username string) (tokenString string)

Types

type LdapProvider

type LdapProvider struct {
	LdapConfig  *ldapAuth.Config
	Groups      []string
	LdapServers []string
}

func (LdapProvider) IsUserAuthenticated

func (l LdapProvider) IsUserAuthenticated(username string, password string, group string) (authStat bool)

Jump to

Keyboard shortcuts

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