rbac

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthenticator added in v0.21.1

func NewAuthenticator(adaptors *adaptors.Adaptors,
	jwtManager jwt_manager.JwtManager,
	accessListService access_list.AccessListService,
	config *m.AppConfig) plugins.Authorization

Types

type Authenticator added in v0.21.1

type Authenticator struct {
	// contains filtered or unexported fields
}

func (*Authenticator) AuthPlain added in v0.21.1

func (a *Authenticator) AuthPlain(login, pass string) (*m.User, error)

func (*Authenticator) AuthREST added in v0.21.1

func (a *Authenticator) AuthREST(ctx context.Context, accessToken string, requestURI *url.URL, method string) (*m.User, bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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