mirror of
https://github.com/pfzetto/axum-oidc.git
synced 2024-12-23 17:19:32 +01:00
init
This commit is contained in:
commit
1b3973064b
4 changed files with 30 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/target
|
||||
Cargo.lock
|
14
Cargo.toml
Normal file
14
Cargo.toml
Normal file
|
@ -0,0 +1,14 @@
|
|||
[package]
|
||||
name = "axum-oidc"
|
||||
description = "A OpenID Connect Client and Bearer Token Libary for axum"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
authors = [ "Paul Z <info@pfz4.de>" ]
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/pfz4/axum-oidc"
|
||||
license = "LGPL-3.0-or-later"
|
||||
keywords = [ "axum", "oidc", "openidconnect", "authentication" ]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
14
README.md
Normal file
14
README.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
**This crate is still under construction**
|
||||
|
||||
This Library allows using [OpenID Connect](https://openid.net/developers/how-connect-works/) with [axum](https://github.com/tokio-rs/axum). It provides two modes, described below.
|
||||
|
||||
# Operating Modes
|
||||
## Client Mode
|
||||
In Client mode, the user visits the axum server with a web browser. The user gets redirected to and authenticated with the Issuer.
|
||||
|
||||
## Token Mode
|
||||
In Token mode, the another system is using the access token of the user to authenticate against the axum server.
|
||||
|
||||
# License
|
||||
This Library is licensed under [LGPLv3](https://www.gnu.org/licenses/lgpl-3.0.en.html).
|
||||
|
0
src/lib.rs
Normal file
0
src/lib.rs
Normal file
Loading…
Reference in a new issue