Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
Authenticator defines authenticator gRPC service.
func NewAuthenticator ¶
func NewAuthenticator(log *zap.Logger, config *Config, authDelivery *authDelivery.AuthenticateDelivery) *Authenticator
NewAuthenticator returns new authenticator gRPC service.
type Config ¶
type Config struct { ListenAddress string `toml:"listen_address"` DatabaseAddress string `toml:"database_address"` DatabaseName string `toml:"database_name"` GRPCTLSCertificateFile string `toml:"grpc_tls_certificate_file"` GRPCTLSKeyFile string `toml:"grpc_tls_key_file"` }
Config of Authenticator service.
Click to show internal directories.
Click to hide internal directories.