ezidam: oauth: authorize: generate and save authorization code
This commit is contained in:
parent
471e2fc740
commit
bb4ff8a9f8
6 changed files with 33 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue