Commit graph

6 commits

Author SHA1 Message Date
fox.cpp
03d9e52627
Rename modules and introduce namespace-aware module name lookups
See #248.
2020-07-15 01:31:05 +03:00
fox.cpp
55a91a37b7
Revert authorization/authentication split
Authentication provider module is responsible only for authentication.
Nothing more. Access control (authorization) should be kept separate.
2020-02-28 01:38:40 +03:00
fox.cpp
3092ca0ca5
Lift restrictions on authentication credentials in shadow/pam modules
With new authorization/authentication identities split, it is possible
to have non-email authentication identity while using email authorization
identity.
2020-02-28 00:31:34 +03:00
fox.cpp
a45c7090c4
Improve auth. provider interface
The authentication provider can now provide multiple authorization
identities associated with credentials. Protocols that support that
(e.g. JMAP, SASL) can let the client select the wanted identity.
2020-02-27 01:22:47 +03:00
fox.cpp
93cd9525f4
Unbreak PAM/shadow authentication support
Implement minimal version of removed auth_perdomain directive
specifically for these modules.

Closes #172.
2020-02-04 19:03:24 +03:00
fox.cpp
bf188e454f
Move most code from the repo root into subdirectories
The intention is to keep to repo root clean while the list of packages
is slowly growing.

Additionally, a bunch of small (~30 LoC) files in the repo root is
merged into a single maddy.go file, for the same reason.

Most of the internal code is moved into the internal/ directory. Go
toolchain will make it impossible to import these packages from external
applications.

Some packages are renamed and moved into the pkg/ directory in the root.
According to https://github.com/golang-standards/project-layout this is
the de-facto standard to place "library code that's ok to use by
external applications" in.

To clearly define the purpose of top-level directories, README.md files
are added to each.
2019-12-06 01:35:12 +03:00
Renamed from auth/pam/module.go (Browse further)