security

package
v2.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 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 AuthentiationManagerDeferFunc

type AuthentiationManagerDeferFunc func() (AuthenticationManager, error)

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 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
y or Y : Canonical URL