diff options
| author | mrw1593 <botahamec@outlook.com> | 2023-05-29 16:03:25 -0400 |
|---|---|---|
| committer | mrw1593 <botahamec@outlook.com> | 2023-05-29 16:03:25 -0400 |
| commit | 747b7e6d399dc70c15262348ec763037c77f2013 (patch) | |
| tree | 00a8ea53112db07e3d96d6e29c782038b5694db0 /src/api/oauth.rs | |
| parent | efae29e1f9f2b285fcaad14527b8ef340bca763e (diff) | |
Filled out the rest of the query parameters
Diffstat (limited to 'src/api/oauth.rs')
| -rw-r--r-- | src/api/oauth.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/oauth.rs b/src/api/oauth.rs index 9916053..c6504e1 100644 --- a/src/api/oauth.rs +++ b/src/api/oauth.rs @@ -6,6 +6,7 @@ use sqlx::MySqlPool; use tera::Tera; use unic_langid::subtags::Language; use url::Url; +use uuid::Uuid; use crate::resources::{languages, templates}; use crate::services::db; @@ -20,7 +21,10 @@ enum ResponseType { #[derive(Debug, Clone, Serialize, Deserialize)] pub struct AuthorizationParameters { response_type: ResponseType, + client_id: Uuid, redirect_uri: Option<Url>, + scope: String, // TODO lol no + state: Option<Box<str>>, } #[derive(Debug, Clone, Deserialize)] |
