auth

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package auth handles the web UI and SMTP authentication

Index

Constants

This section is empty.

Variables

View Source
var (
	// UICredentials passwords
	UICredentials *htpasswd.File
	// SMTPCredentials passwords
	SMTPCredentials *htpasswd.File
	// POP3Credentials passwords
	POP3Credentials *htpasswd.File
)

Functions

func SetPOP3Auth added in v1.14.0

func SetPOP3Auth(s string) error

SetPOP3Auth will set POP3 server credentials

func SetSMTPAuth

func SetSMTPAuth(s string) error

SetSMTPAuth will set SMTP credentials

func SetUIAuth

func SetUIAuth(s string) error

SetUIAuth will set Basic Auth credentials required for the UI & API

Types

This section is empty.

Jump to

Keyboard shortcuts

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