ezidam: oauth: authorize: generate and save authorization code

This commit is contained in:
Philippe Loctaux 2023-03-16 23:20:27 +01:00
parent 471e2fc740
commit bb4ff8a9f8
6 changed files with 33 additions and 4 deletions

View file

@ -22,6 +22,9 @@ pub struct User {
}
impl User {
pub fn id(&self) -> &UserID {
&self.id
}
pub fn is_archived(&self) -> bool {
self.is_archived
}