rustio rustio.net
53

nornir-auth-policy

v0.1.4 Experimental

Shared auth POLICY / composition layer for the nordisk servers — the RBAC role model (`Role`, `AuthConfig`, per-repo ACLs, the opt-in read gate), the declarative `AuthMethodConfig` (OIDC / OAuth2 / mTLS / static-token), and `validate_request`, which builds the enabled, feature-gated `nornir_service::AuthProvider` set from the config and dispatches a presented bearer + client-cert CN through it. The composition tier ABOVE the per-method provider leaves (nornir-auth-{bearer,oidc,oauth2,mtls}): a server pins the providers its tier needs and gets the same login + authorization model as holger (the reference consumer). Consumed by holger, and (suite-wide) korp / dwarves / nornir.

MIT OR Apache-2.0 Edition 2021
AuthenticationNetwork programming #authorization#auth#rbac#oidc#mtls

Quick Verdict

  • ✓Actively maintained (updated 5d ago)
  • !Pre-1.0: API may have breaking changes
  • ✓Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
197
Dependents
8
Releases
5
Size
51KB

Deep Insights

📈
Strong growth momentum

126 downloads in the last 30 days (4/day), up 110% from the previous period.

👤
Prolific maintainer

The primary maintainer publishes 296 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

🌟
Used by top crates

Notable dependents include nornir, holger-server-lib, dwarves, korp. When high-quality crates choose nornir-auth-policy, it's a strong quality signal.

Health Breakdown

Maintenance 17/25

Recency, release consistency, active ratio

Quality 14/25

Yanked ratio, deps, size, maturity, features

Community 9/20

Reverse deps, ownership, ecosystem

Popularity 3/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads · last 90 days
0/day avg
08/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v0.1.1
64%
v0.1.0
17%
v0.1.3
7%
v0.1.2
6%
v0.1.4
5%

Release Timeline

5 releasessince 2026
J
F
M
A
M
J
J
A
S
O
N
D
2026
5
Less
More

Feature Flags

onlineauth-mtlsauth-oidcauth-bearerauth-oauth2auth-passkey

README

Loading README...

Maintainers

Dependencies
16
direct dependencies
Dependents
8
crates depend on nornir-auth-policy

Similar Crates