authenticator

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	Rules []AuthRule `yaml:"rules"`
	Type  string     `yaml:"type"`
}

type AuthRule

type AuthRule struct {
	ID   string `yaml:"ruleId"`
	Name string `yaml:"ruleName"`
	Tags []Tag  `yaml:"tags"`
	// contains filtered or unexported fields
}

type Authenticator

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

func (*Authenticator) Verify

func (a *Authenticator) Verify(ctx context.Context, method string) error

type Builder

type Builder struct {
}

func (*Builder) Build

func (b *Builder) Build(cfg config.Source, svc naming.Service) auth.Auth

type Tag

type Tag struct {
	ID       string `yaml:"tagId"`
	Type     string `yaml:"tagType"`
	Field    string `yaml:"tagField"`
	Operator string `yaml:"tagOperator"`
	Value    string `yaml:"tagValue"`
}

Jump to

Keyboard shortcuts

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