BLOG-85 Implement OIDC authentication #93
12
backend/Cargo.lock
generated
12
backend/Cargo.lock
generated
@ -353,6 +353,18 @@ dependencies = [
|
||||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "auth"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"actix-web",
|
||||
"async-trait",
|
||||
"chrono",
|
||||
"log",
|
||||
"serde",
|
||||
"sqlx",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
version = "1.4.0"
|
||||
|
@ -1,5 +1,5 @@
|
||||
[workspace]
|
||||
members = ["server", "feature/image", "feature/post"]
|
||||
members = ["server", "feature/auth", "feature/image", "feature/post"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
@ -26,5 +26,6 @@ sqlx = { version = "0.8.5", features = [
|
||||
tokio = { version = "1.45.0", features = ["full"] }
|
||||
|
||||
server.path = "server"
|
||||
auth.path = "feature/auth"
|
||||
image.path = "feature/image"
|
||||
post.path = "feature/post"
|
||||
|
12
backend/feature/auth/Cargo.toml
Normal file
12
backend/feature/auth/Cargo.toml
Normal file
@ -0,0 +1,12 @@
|
||||
[package]
|
||||
name = "auth"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
actix-web.workspace = true
|
||||
async-trait.workspace = true
|
||||
chrono.workspace = true
|
||||
log.workspace = true
|
||||
serde.workspace = true
|
||||
sqlx.workspace = true
|
2
backend/feature/auth/src/adapter.rs
Normal file
2
backend/feature/auth/src/adapter.rs
Normal file
@ -0,0 +1,2 @@
|
||||
pub mod delivery;
|
||||
pub mod gateway;
|
0
backend/feature/auth/src/adapter/delivery.rs
Normal file
0
backend/feature/auth/src/adapter/delivery.rs
Normal file
0
backend/feature/auth/src/adapter/gateway.rs
Normal file
0
backend/feature/auth/src/adapter/gateway.rs
Normal file
3
backend/feature/auth/src/application.rs
Normal file
3
backend/feature/auth/src/application.rs
Normal file
@ -0,0 +1,3 @@
|
||||
pub mod error;
|
||||
pub mod gateway;
|
||||
pub mod use_case;
|
0
backend/feature/auth/src/application/error.rs
Normal file
0
backend/feature/auth/src/application/error.rs
Normal file
0
backend/feature/auth/src/application/gateway.rs
Normal file
0
backend/feature/auth/src/application/gateway.rs
Normal file
0
backend/feature/auth/src/application/use_case.rs
Normal file
0
backend/feature/auth/src/application/use_case.rs
Normal file
1
backend/feature/auth/src/domain.rs
Normal file
1
backend/feature/auth/src/domain.rs
Normal file
@ -0,0 +1 @@
|
||||
pub mod entity;
|
0
backend/feature/auth/src/domain/entity.rs
Normal file
0
backend/feature/auth/src/domain/entity.rs
Normal file
2
backend/feature/auth/src/framework.rs
Normal file
2
backend/feature/auth/src/framework.rs
Normal file
@ -0,0 +1,2 @@
|
||||
pub mod db;
|
||||
pub mod web;
|
0
backend/feature/auth/src/framework/db.rs
Normal file
0
backend/feature/auth/src/framework/db.rs
Normal file
0
backend/feature/auth/src/framework/web.rs
Normal file
0
backend/feature/auth/src/framework/web.rs
Normal file
4
backend/feature/auth/src/lib.rs
Normal file
4
backend/feature/auth/src/lib.rs
Normal file
@ -0,0 +1,4 @@
|
||||
pub mod adapter;
|
||||
pub mod application;
|
||||
pub mod domain;
|
||||
pub mod framework;
|
Loading…
x
Reference in New Issue
Block a user