Crates.io | axum-negotiate |
lib.rs | axum-negotiate |
version | 0.1.1 |
source | src |
created_at | 2024-09-24 10:58:51.63932 |
updated_at | 2024-09-24 11:13:44.127479 |
description | Kerberos SPNEGO and NTLM Authentication(RFC4559) for axum |
homepage | |
repository | https://github.com/pfzetto/axum-negotiate |
max_upload_size | |
id | 1385075 |
size | 75,252 |
This Library allows using Kerberos SPNEGO HTTP-Authentication with axum.
The NegotiateAuthLayer
forces every request to be authenticated.
Handlers can use the Upn
extractor to get the user principal name.
Take a look at the examples
folder for examples.
Currently this library only supports two-pass SPNEGO as it doesn't require state across multiple requests on the server.
All versions on crates.io are available as git tags.
Additional all minor versions have their own branch (format vX.Y
where X
is the major and Y
is the minor version) where bug fixes are implemented.
Examples for each version can be found there in the previously mentioned examples
folder.
I'm happy about any contribution in any form. Feel free to submit feature requests and bug reports using a GitHub Issue. PR's are also appreciated.
This Library is licensed under LGPLv3.