security

package
Version: v21.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TLSConfigurationConnectorName = "tls"
	AuthenticationConnectorName   = "auth"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationManager

type AuthenticationManager interface {
	Authenticate(ctx context.Context, token string) (*proto.PreAuthenticatedAuthenticationToken, error)
	IsEnabled(ctx context.Context) (bool, error)
}

func NewDisabledAuthenticationManager

func NewDisabledAuthenticationManager() AuthenticationManager

type AuthenticationManagerDeferFunc

type AuthenticationManagerDeferFunc func() (AuthenticationManager, error)

type AuthenticationManagerPluginConnector

type AuthenticationManagerPluginConnector struct {
	plugin.Plugin
}

func (*AuthenticationManagerPluginConnector) GRPCClient

func (*AuthenticationManagerPluginConnector) GRPCClient(ctx context.Context, b *plugin.GRPCBroker, cc *grpc.ClientConn) (interface{}, error)

func (*AuthenticationManagerPluginConnector) GRPCServer

func (*AuthenticationManagerPluginConnector) GRPCServer(b *plugin.GRPCBroker, s *grpc.Server) error

type AuthenticationManagerPluginGateway

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

func (*AuthenticationManagerPluginGateway) Authenticate

func (*AuthenticationManagerPluginGateway) IsEnabled

type CipherSuite

type CipherSuite string

type CipherSuiteList

type CipherSuiteList []CipherSuite

func (CipherSuiteList) ToUint16Array

func (csl CipherSuiteList) ToUint16Array() ([]uint16, error)

type DeferredAuthenticationManager

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

func (*DeferredAuthenticationManager) Authenticate

func (*DeferredAuthenticationManager) IsEnabled

type DisabledAuthenticationManager

type DisabledAuthenticationManager struct {
}

func (*DisabledAuthenticationManager) Authenticate

func (*DisabledAuthenticationManager) IsEnabled

type TLSConfigurationSource

type TLSConfigurationSource interface {
	Get(ctx context.Context) (*tls.Config, error)
}

type TLSConfigurationSourcePluginConnector

type TLSConfigurationSourcePluginConnector struct {
	plugin.Plugin
}

func (*TLSConfigurationSourcePluginConnector) GRPCClient

func (*TLSConfigurationSourcePluginConnector) GRPCClient(ctx context.Context, b *plugin.GRPCBroker, cc *grpc.ClientConn) (interface{}, error)

func (*TLSConfigurationSourcePluginConnector) GRPCServer

func (*TLSConfigurationSourcePluginConnector) GRPCServer(b *plugin.GRPCBroker, s *grpc.Server) error

type TLSConfigurationSourcePluginGateway

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

func (*TLSConfigurationSourcePluginGateway) Get

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL