server: add OAuth2 authentication routes
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Icacb5359f4d05d53d4c1b60cc2c0f4f66a6a6964
This commit is contained in:
parent
2eae49f313
commit
a9e9599d5b
4 changed files with 546 additions and 3 deletions
|
|
@ -60,7 +60,8 @@ impl SessionData {
|
|||
|
||||
#[derive(Clone)]
|
||||
pub struct AppState {
|
||||
pub pool: PgPool,
|
||||
pub config: Config,
|
||||
pub sessions: Arc<DashMap<String, SessionData>>,
|
||||
pub pool: PgPool,
|
||||
pub config: Config,
|
||||
pub sessions: Arc<DashMap<String, SessionData>>,
|
||||
pub http_client: reqwest::Client,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue