Documentation ¶
Index ¶
- Constants
- type AuthenticationManager
- type AuthenticationManagerDeferFunc
- type AuthenticationManagerPluginConnector
- type AuthenticationManagerPluginGateway
- type CipherSuite
- type CipherSuiteList
- type DeferredAuthenticationManager
- type DisabledAuthenticationManager
- type TLSConfigurationSource
- type TLSConfigurationSourcePluginConnector
- type TLSConfigurationSourcePluginGateway
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 (a *AuthenticationManagerPluginGateway) Authenticate(ctx context.Context, token string) (*proto.PreAuthenticatedAuthenticationToken, error)
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 NewDeferredAuthenticationManager ¶
func NewDeferredAuthenticationManager(deferFunc AuthenticationManagerDeferFunc) *DeferredAuthenticationManager
func (*DeferredAuthenticationManager) Authenticate ¶
func (d *DeferredAuthenticationManager) Authenticate(ctx context.Context, token string) (*proto.PreAuthenticatedAuthenticationToken, error)
type DisabledAuthenticationManager ¶
type DisabledAuthenticationManager struct { }
func (*DisabledAuthenticationManager) Authenticate ¶
func (*DisabledAuthenticationManager) Authenticate(ctx context.Context, token string) (*proto.PreAuthenticatedAuthenticationToken, error)
type TLSConfigurationSource ¶
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
}
Click to show internal directories.
Click to hide internal directories.